Sudo & su

Nabeel Moidu nabeelmoidu at gmail.com
Sat Nov 3 17:54:13 UTC 2007


On 11/3/07, Vivek J. Patankar <vivek.patankar at gmail.com> wrote:
>
> Is there a way to force the system to request for the root password? Or
> restrict 'sudo' users from using 'su'?


Try

johnny  ALL=(root) ALL,!/usr/bin/su


-- 
Thanks and Regards
Nabeel Moidu
Doha, Qatar



More information about the redhat-list mailing list