bin/129541: Passwd cannot be forced to "yp" mode in some
danm at prime.gushi.org
Tue Dec 9 18:40:01 PST 2008
>Synopsis: Passwd cannot be forced to "yp" mode in some circumstances.
>Arrival-Date: Wed Dec 10 02:40:01 UTC 2008
>Originator: Dan Mahoney
>Release: FreeBSD 6.4-STABLE i386
System: FreeBSD prime.gushi.org 6.4-STABLE FreeBSD 6.4-STABLE #0: Thu Dec 4 13:23:40 EST 2008 danm at prime.gushi.org:/usr/obj/usr/src/sys/PRIME6 i386
"passwd" cannot be forced to NIS unless the machine is configured to use NIS for its own password file.
prime# passwd -y -d gushi-systems -h prime.gushi.org sdk
Changing local password for sdk
Configure a server as an NIS master server, populate the maps, but do not add the +:::::::: to /etc/passwd :
prime# ypcat master.passwd.byname|grep sdk
None known. This is an edge case, but it's feasibly possible that a server could want to serve NIS without itself participating in it (via map files
separate from its own). Since ypcat and the like all still work, passwd should (at least when forced) pick up similar hueristics.
More information about the freebsd-bugs