In article <[EMAIL PROTECTED]>, Nathan Smith <[EMAIL PROTECTED]> wrote: >I'm having trouble with yppasswd in NIS. The setup is this: passwd, >shadow, group, etc. files are in the /var/yp/ypfiles directory. Of course >there are corresponding files in /etc on the ypserver, but they do not >contain all of the users in the /var/yp/ypfiles location. In the makefile >YPSRCDIR (sp?) and YPDIR are both set to /var/yp/ypfiles, so as I >understand it NIS should not be looking in /etc at all. > >Anyone who is on the /var/yp/ypfiles list is able to log in to all of the >yp clients. However, only those that are listed in the /etc files are >able to change their passwords using yppasswd. Does anybody know how to >fix this?
Read the manual page of yppasswdd(8); it explains the -D option. Then adjust /etc/init.d/nis accordingly. Mike.