Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'sudo su - is another bad idea' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
sudo su - is another bad idea
Authored by: EddEdmondson on Oct 15, '04 05:08:19AM
No, that's all back to front, surely?

I'd assume that an 'admin' user is allowed to do root operations, and sudo just helps prevent them doing a lot of them by accident.

If you don't want a user to be root then don't make them an admin. You can tweak the sudoers file to give them any additional permissions beyond normal.

Admittedly Apple's use of 'sudo' here is perhaps a bit non-standard but then the idea of 'admin' users is just about as non-standard.

[ Reply to This | # ]