[sudo-users] restricting access to commands

Matthew Hannigan mlh at zip.com.au
Sat May 27 08:44:20 EDT 2006


On Fri, May 26, 2006 at 10:35:36PM +0200, Micha wrote:
> Does sudo rely on 'su' ? 

no

> What is the difference at all between sudo and su -c ? 

sudo by default takes the users password, not root's 

btw, -c is not an option to su, it's an option to the shell,
which su runs.

> What would be a good approach to prohibit certain commands ?

permit only whats required and no more



Matt




More information about the sudo-users mailing list