3 ms·
the current process here mean "oneway" or "su" not the parent of it. so if you type "su -l -c sleep app" and type "ps ax" you would see a the "su" process and
by alsadi 10y ago
the current process here mean "oneway" or "su" not the parent of it.
so if you type "su -l -c sleep app" and type "ps ax" you would see a the "su" process and a child process.
if you do that with "oneway", there wont be a process called oneway.
the usage of this is you can have "exec oneway" in your start.sh and you would end up with no privileged processes at all.
on the other hand this won't happen even if you "exec su -c bash exec " no matter how many exec you type. there will always be a su/sudo process
- alsadi 10y agoas you can see here "alsadi" user is a sudoer but later with oneway, he was unable to sudo again. http://imgur.com/a/IzrXR http://imgur.com/a/IzrXR