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:
> On 11/3/07, Nabeel Moidu <nabeelmoidu@xxxxxxxxx> wrote:
> > 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
>
> I'll try that.

That didn't work. Visudo gave a syntax eoor and refused to commit the changes.


-- 
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)

Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.4-65.fc7 x86_64

-- 
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