From owner-freebsd-questions Thu Jan 31 19: 4: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sv-mta1.inprise.com (outgoing1.borland.com [207.105.72.219]) by hub.freebsd.org (Postfix) with ESMTP id 04C0737B402 for ; Thu, 31 Jan 2002 19:03:57 -0800 (PST) Received: from singaporemail2.inprise.com (singaporemail2.inprise.com [143.186.139.187]) by sv-mta1.inprise.com (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GQU0016P368EO@sv-mta1.inprise.com> for freebsd-questions@FreeBSD.ORG; Thu, 31 Jan 2002 19:03:55 -0800 (PST) Received: from borland.com ([143.186.139.161]) by singaporemail2.inprise.com (iPlanet Messaging Server 5.1 (built May 8 2001)) with ESMTP id <378L08NBSBI4KC003E@singaporemail2.inprise.com> for freebsd-questions@FreeBSD.ORG; Fri, 01 Feb 2002 11:07:04 +0800 (Singapore Standard Time) Date: Fri, 01 Feb 2002 10:59:43 +0800 From: Zilong Wang Subject: problem with nis server setup To: freebsd-questions@FreeBSD.ORG Message-id: <3C5A049F.CB428610@borland.com> MIME-version: 1.0 X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) Content-type: multipart/alternative; boundary="Boundary_(ID_Dh//Vf/qP119NrY1azLCcQ)" X-Accept-Language: en,pdf,x-ns1cbCAZtR0Nh5,x-ns2U160btwUq5f Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message