|
Please forgive my tired brain if I am way off track here, but tell me if this makes any sense given my limited understanding of processes and permissions.
We have now a situation where we can for a short term run processes with super-user privileges. Also, unless I am mistaken (and I may well be) the permissions that a process has are determined at launch time, and thus a processed launched with su permissions should maintain them until terminated.
Assuming that this filesystem reset that occurs to undo the changes we have made does not go terminating processes at the same time, would it not be possible to write a program that would continue to run in resident memory with su privileges and watch for the file system to revert, and then when it sees this action, the process could, using its existing su privileges, put things back the way we want them?
I am making several assumptions here, so please feel free to educate me on my fallacies. Either way, thanks for taking the time to hear me out.
Oh, and to the great folks whom put this temp root together, it works wonderfully. Your efforts, time, and dedication are greatly appreciated.
--Mia
|