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

Re: nsswitch.conf uses incorrect methods for passwd, group and shadow



Andreas Jellinghaus <aj@dungeon.inka.de> writes:

> summary: please use "files".
> the nis package might have a nisconfig script to change this either to
> "compat" or "files nis", but everything else may only be done by the
> sysadmin.

> difference between "compat" and "files nis" :
> files nis always looks first at the file, then at nis.
> but with compat, "nis" is only used if the file contains a line starting
> with "+". also compart allows to include only some informations from nis
> (e.g. "+@netgroup"), where "files nis" will always include everything.

compat also allows you to use stuff like:

+@IN_managers
+:x:::::/bin/false

which only allows users in the IN_managers netgroup.  (The others have
their shell remapped to /bin/false and their passwords disabled.)  I
don't know how to do this with "files nis" (or if it is possible).


Steve
dunham@cps.msu.edu


--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@lists.debian.org


Reply to: