millert
dff81d5bde
Add a "shadow" group and make the shadow passwd db readable by that
group. This changes getpw* to always try the shadow db first and then fall back to the db w/o password hashes. In the future, /usr/libexec/auth/login_passwd (and others) will be setgid shadow instead of setuid root. OK deraadt@ If you track -current you should do the following: o add group shadow to /etc/group o chgrp shadow /etc/spwd.db o chmod 640 /etc/spwd.db o rebuild and install src/usr.sbin/pwd_mkdb You do not need to rebuild libc yet, but it would't hurt to do so. |
22 years ago | |
---|---|---|
src | Add a "shadow" group and make the shadow passwd db readable by that | 22 years ago |