Re: Fix passwd/shadow/group files?

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



On 7/15/05 2:25 AM, Bryan J. Smith <b.j.smith@xxxxxxxx> wrote:

> From: Paul Heinlein <heinlein@xxxxxxxxxx>
> 
>>If you set up netgroups, you can specify login rights easily:
>>* /etc/passwd
>>[...]
>>+@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@xxxxxxxxxx <> www.madboa.com

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux