[CentOS] Re: Fix passwd/shadow/group files?
Paul Heinlein
heinlein at madboa.com
Fri Jul 15 15:32:07 UTC 2005
On 7/15/05 2:25 AM, Bryan J. Smith <b.j.smith at ieee.org> wrote:
> From: Paul Heinlein <heinlein at madboa.com>
>
>>If you set up netgroups, you can specify login rights easily:
>>* /etc/passwd
>>[...]
>>+ at login-group
>>+:::::/dev/null:/sbin/nologin
>>* /etc/nsswitch.conf
>>passwd: compat
>>shadow: compat
>>group: files nis
>>netgroup: files nis
>
>
> Now that only works for NIS distributed passwd, netgroups, correct?
> Or will it work for local users as well?
I think it'll only work for NIS passwd maps, but I think that the
netgroups map can come from NIS *or* live in /etc/netgroup.
--
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
More information about the CentOS
mailing list