From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b84f968afed82d3b,start X-Google-Attributes: gidfee84,public From: dschen@sun1.nhctc.edu.tw (Codex Chen) Subject: yppasswdd -m option corrupted w/ DU3.2c? Date: 1996/03/16 Message-ID: <4id7va$7ae@news.csie.nctu.edu.tw>#1/1 X-Deja-AN: 143134674 organization: CC, National Hsin Chu Teachers College newsgroups: comp.unix.osf.osf1 Hi, Sorry if this had been discussed here before. I set up some Alpha boxes with NIS and started the rpc.yppasswdd on the NIS server for the NIS password changing. >From the man pages of yppasswdd I invoke the -m option with yppasswdd to make sure the process of make in the /var/yp directory should be done to update the passwd.* in the /var/yp/`domainname`. Here comes my instruction of yppasswdd: /usr/sbin/rpc.yppasswdd /etc/passwd -m passwd (I put the master password file in the /etc instead of /var/yp/src) I ever changed the DIR as /etc in the /var/yp/Make and was sure that it worked out when I type 'make' manually under the /var/yp directory. However I used the yppasswd on the NIS clients to change the password and it failed. As observed the password entry of /etc/passwd was changed but the NIS database wasn't. Even it didn't show up "updated passwd" when I entered the /var/yp and typed 'make' manually. Once I use 'touch /etc/passwd' to change the time stamp of /etc/passwd and 'make' in the /var/yp will update the NIS database. I doubt the yppasswdd is corrupted when modifying the password entry of /etc/passwd. It seems not changing the time stamp of /etc/passwd file and the -m option(make in /var/yp) doesn't work. Any idea about this? Thanks for any kindly help. -- Computer Center, | dschen@sun1.nhctc.edu.tw National Hsin Chu Teachers' College | De-hsing Chen(Codex Chen) HsinChu, Taiwan 300, ROC |