marazmista You accepted my (V10lator) first pull request.
BTW: I have some new ideas:
For the second one I think some trick from TrueCrypt could work: Implement a CLI and/or daemon mode and use that with sudo. I got this from here: http://www.linux-forum.de/70118-post14.html - Another way might be to use POSIX capabilities ( http://linux.die.net/man/7/capabilities ) but I'm unsure about that. Maybe there's also a completely other way like creating a new thread with root rights (not sure if possible) and fetching the infos from there.
BTW: I have some new ideas:
- Restructure the codes into more files, this may get big and hard to follow.
- Ask for the root passwort at start (if not already root) (important if you want to maniulate the .drirc file of the user later, for example).
For the second one I think some trick from TrueCrypt could work: Implement a CLI and/or daemon mode and use that with sudo. I got this from here: http://www.linux-forum.de/70118-post14.html - Another way might be to use POSIX capabilities ( http://linux.die.net/man/7/capabilities ) but I'm unsure about that. Maybe there's also a completely other way like creating a new thread with root rights (not sure if possible) and fetching the infos from there.
Comment