Re: pam_unix.so + nsswitch.conf + nis

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

 



On Wed, Aug 22, Dominik George wrote:

> Nothing REALLY to do with the topic, but does that mean that my
> configuration with the +:::::: notation is old and should be updated?

The + notation exist since a very long time, but there is no successor
which makes it obsolete or deprecated.
If you use it only to enable NIS lookup, you can change "compat" to 
"files nis" in /etc/nsswitch.conf. If you use it for access control
or to overwrite single values, there is no alternative.

  Thorsten
 
> 2007/8/22, Thorsten Kukuk <kukuk@xxxxxxx>:
> >
> > On Wed, Aug 22, Vassilis Vatikiotis wrote:
> >
> > > The +::::: notation in passwd/shadow filesis used when the 'compat'
> > > option is used in nsswitch.conf, and I haven't used any 'compat' option
> > > in nsswitch nor the +/- compatibility notation in passwd and shadow
> > files.
> > >
> > > It's not needed anyway since glibc supports NIS lookups. The compat
> > > option was used when libc5 without NYS support was used in linux, maybe
> > > a decade ago or something like that.
> >
> > You are mixing two different things which have nothing to do
> > together.
> > libc5 wihtout NYS did not even have a /etc/nsswitch.conf.
> >
> > And the compat option is not for NIS lookups, it works with
> > every other service, too.
> >
> > What you mean is, that the +::::: notation in passwd/shadow files
> > was used in libc5 without NYS to support NIS, but neither the
> > +:::: notation nor the compat option is superfluous today.
> >
> >   Thorsten
> >
> > --
> > Thorsten Kukuk, Project Manager/Release Manager SLES
> > SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
> > GF: Markus Rex, HRB 16746 (AG Nuernberg)
> >
> > _______________________________________________
> > Pam-list mailing list
> > Pam-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/pam-list
> >

> _______________________________________________
> Pam-list mailing list
> Pam-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/pam-list

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux