Re: sudo access - proper method?



On Thu, Apr 21, 2011 at 2:38 PM, Matty Sarro <msarro@xxxxxxxxx> wrote:
Thank you for the pointer guys. Just curious; I did add the user to
the wheel group as well.
I expected the users who weren't added to wheel to not be able to su
to root. Is this a departure from BSD's implementation of the wheel
group?

-Matty

On Thu, Apr 21, 2011 at 2:30 PM,  <m.roth@xxxxxxxxx> wrote:
Rohit khaladkar wrote:
I always edit the sudoers file.

On Thu, Apr 21, 2011 at 3:16 PM, Matty Sarro <msarro@xxxxxxxxx> wrote:

Hey everyone,
Just curious - when creating a new user, what is the proper method of
giving them sudo access? Is it by appending them to the wheel group,
or is it modifying the /etc/sudoers file? I appreciate any help.

Rhoit, don't top post.

Matty: ABSOLUTELY, USE visudo - do *not* just edit it. visudo does syntax
checking, and so when you get out, you can be reasonably sure you won't be
locked out....

      mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Also, sorry for the top post, I didn't realize gmail did that by default. Oops.
--Matty

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Relevant Pages

  • Re: sudo access - proper method?
    ... Thank you for the pointer guys. ... Is it by appending them to the wheel group, ... Rhoit, don't top post. ...
    (RedHat)
  • RE: Questions regarding the wheel group
    ... offered for the root account by using a special group called the wheel ... The wheel group adds greater security to a system by preventing users ... not have root's password you should not gain any special privileges to any ...
    (FreeBSD-Security)
  • Re: Question on su / possible hole
    ... >>> What I do with my server, users that are in the wheel group MUST ... >> to root and take off the other permssion on su - but that takes ... A friend of mine verified that this 'hole' has existed as far ...
    (FreeBSD-Security)
  • Re: Im on freeBSD :)
    ... > That article implies there is more power/security in the wheel ... > in the wheel group in addition to knowing the root password. ... > Then just su to a wheel group user, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: [opensuse] Re: only wheel members can su as root
    ... I'm new to this group and suse as well. ... Anyone can "su" and enter root's password and then they are root, so I don't think that is what you are after -- I could be wrong. ... First, as you have already found, make the users that you WANT to have sudo ability members of the wheel group. ...
    (SuSE)