Re: Sudo & su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/3/07, Vivek J. Patankar <vivek.patankar@xxxxxxxxx> 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
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux