Sudo & su

Vivek J. Patankar vivek.patankar at gmail.com
Sat Nov 3 18:25:23 UTC 2007


On 11/3/07, Vivek J. Patankar <vivek.patankar at gmail.com> wrote:
> On 11/3/07, Nabeel Moidu <nabeelmoidu at gmail.com> wrote:
> > 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
>
> 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




More information about the redhat-list mailing list