Re: sudo access - proper method?

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

 



On Thu, Apr 21, 2011 at 2:39 PM, Matty Sarro <msarro@xxxxxxxxx> wrote:
> 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
>

Thanks all, I figured out what I needed.
First, I added the user to wheel group.
Second, I gave them sudo privilege .
Third, I made it that all users of wheel can use sudo in /etc/sudoers
Fourth I modified /etc/pam.d/su and uncommented the line requiring
users to be in wheel to run su.

Greatly appreciated!

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