[rhn-users] sudo and NIS

Vinodh Cuppu vcuppu at gmail.com
Thu May 25 19:37:49 UTC 2006


On 5/25/06, Brad Sharpe <bsharpe at mdacorporation.com> wrote:
>
> I started by editing the /etc/sudoers (using visudo) file and entering
> %wheel ALL.=(ALL) ALL Then I added my own user account into the wheel group
> and tested on the server and it works.
>
> When I go to one of my other machines running NIS I am unable to run sudo,
> I get a permission error. If I add myself to the local machines wheel group
> it works. I don't want to edit every machines /etc/group file to get this to
> work. Any help would be appreciated.
>

On RHEL3, only group id's 500 and higher are put in the NIS database by
default. The minimum group id is set in /var/yp/Makefile (MINGID).

Also, remember to do make in /var/yp everytime the groups file is changed to
update the NIS databases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060525/e4f67db4/attachment.htm>


More information about the rhn-users mailing list