[sudo-users] Secure sudoers

Moisés Barba Pérez mbarperoi at gmail.com
Tue May 17 04:27:22 EDT 2011


Hi,

Yes, you are right, but if an user has sudo permission as root then he can
edit soduers: "sudo visudo" for example. I would like to avoid edition of
sudoers file with sudo, only the real user root can modify sudoers.

Suggestions?

Regards,
Moisés.

2011/5/17 Mark Janssen <maniac.nl at gmail.com>

> On Tue, May 17, 2011 at 8:24 AM, Moisés Barba Pérez <mbarperoi at gmail.com>
> wrote:
> > Hi,
> >
> > I would like to know if it is possible to secure the sudoers file making
> it
> > only writable for user root. I have a group of users with sudo permisions
> > but I don't want they can touch the sudoers file.
> >
> > Can I securo sudoers file in some way?
>
> It should only be readable by root...
>
> -r--r----- 1 root root 510 Feb  9 17:43 /etc/sudoers
>
> So if yours isn't.... fix that asap.
>
> --
> Mark Janssen  --  maniac(at)maniac.nl  --  pgp: 0x
> Unix / Linux Open-Source and Internet Consultant
> Maniac.nl Sig-IO.nl Vps.Stoned-IT.com
>



More information about the sudo-users mailing list