Date: Fri, 01 Feb 2002 10:59:43 +0800 From: Zilong Wang <zlwang@borland.com> To: freebsd-questions@FreeBSD.ORG Subject: problem with nis server setup Message-ID: <3C5A049F.CB428610@borland.com>
next in thread | raw e-mail | index | archive | help
--Boundary_(ID_Dh//Vf/qP119NrY1azLCcQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hi gurus, I experienced a strang problem with nis server setup when trying to change users' passwd from nis clients. I just setup a FreeBSD 4.3-release yp server and client is Solaris 8 machine. Actually the procedure is pretty simple, however, I did have trouble to change passwd in the end. I created my master.passwd file as follows: ... zlwang::126:888:0:0:zlwang:/export/home/zlwang:/bin/ksh ... I tried "passwd zlwang" from the client, I failed with the following messages shown on the console of the FreeBSD nis server: Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: /bin/ksh is not a valid shell Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: rejecting change attemp: bad arguments Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: client address: 143.186.139.45 username: zlwang So I just change /bin/ksh in the master.passwd in nis server to /bin/sh, then I did "passwd zlwang" on client box again, then suceeded. I tried other shells which come with freebsd installation, say csh, also I succedded to change the passwd without error messages on the nis server. I just think it can be a bug for this version of 4.3-release and 4.4-release(I tried both, failed)? Because the same master.passwd file on our old 3.1-release nis server just works fine. Any idea on this? Please advise. Regards, Zilong --Boundary_(ID_Dh//Vf/qP119NrY1azLCcQ) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Hi gurus, <p>I experienced a strang problem with nis server setup when trying to change users' passwd from nis clients. <p>I just setup a FreeBSD 4.3-release yp server and client is Solaris 8 machine. Actually the procedure is pretty simple, however, I did have trouble to change passwd in the end. I created my master.passwd file as follows: <p><font color="#3333FF">...</font> <br><font color="#3333FF">zlwang::126:888:0:0:zlwang:/export/home/zlwang:/bin/ksh</font> <br><font color="#3333FF">...</font> <p>I tried "passwd zlwang" from the client, I failed with the following messages shown on the console of the FreeBSD nis server: <p><font color="#3333FF">Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: /bin/ksh is not a valid shell</font> <br><font color="#3333FF">Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: rejecting change attemp: bad arguments</font> <br><font color="#3333FF">Feb 1 10:47:38 coolbug rpc.yppasswdd[162]: client address: 143.186.139.45 username: zlwang</font> <p>So I just change /bin/ksh in the master.passwd in nis server to /bin/sh, then I did "passwd zlwang" on client box again, then suceeded. I tried other shells which come with freebsd installation, say csh, also I succedded to change the passwd without error messages on the nis server. I just think it can be a bug for this version of 4.3-release and 4.4-release(I tried both, failed)? Because the same master.passwd file on our old 3.1-release nis server just works fine. Any idea on this? Please advise. <p>Regards, <br>Zilong <br> <br> </html> --Boundary_(ID_Dh//Vf/qP119NrY1azLCcQ)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5A049F.CB428610>