From owner-freebsd-questions Fri May 11 2:39:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bleys.tpgi.com.au (bleys.tpgi.com.au [203.12.160.38]) by hub.freebsd.org (Postfix) with ESMTP id 17C9337B422 for ; Fri, 11 May 2001 02:39:07 -0700 (PDT) (envelope-from eirvine@tpgi.com.au) Received: (from smtpd@localhost) by bleys.tpgi.com.au (8.11.2/8.11.2) id f4B9cuL11460; Fri, 11 May 2001 19:38:56 +1000 Received: from syd-56K-178.tpgi.com.au(203.58.12.178), claiming to be "tpgi.com.au" via SMTP by buffy.tpgi.com.au, id smtpdyHqrMn; Fri May 11 19:38:48 2001 Message-ID: <3AFBB320.FC1484E2@tpgi.com.au> Date: Fri, 11 May 2001 19:38:40 +1000 From: eirvine X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Burden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hmmm, getting 4.3 to talk to net yypasswd file... References: <20010510212220.A15329@tigerfish2.my.domain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Bruce, Bruce Burden wrote: > > Hi gang, > I have a 4.3 box at work. I have YP and NIS installed, and running. > The problem is, I can't log in using my corporate UID. This is due to > one of two problems (I think!) > > 1. The 4.3 box is using KerberosV encryption on the passwords, > and the net is using either crypt (likely) or md5 (unlikely). I think you can use vipw to put an entry like this into your passwd file: +yourloginname::::::::::/usr/local/bin/bash The blank fields will be filled in, the non-blank ones will be left alone. > 2. I don't have ksh installed, and my yp password entry specified > ksh as the shell. pdksh. I've never used it. But if you want to go there then make sure it is in the same path as NIS maps. Also, make sure you update /etc/shells, or some things like ftp might break. > I say it is likely the corporate network is using crypt, because crypt > and md5 are the two options my SUN workstation talk about, and that uses > YP/NIS. It is unlikely a SVR4 shop would be using md5, but... > > It is also possible that I have both problems. Where can I find a > ksh to download? The one in ports fails looking for INIT, and I haven't > found a ksh package. > > I can view the password and hosts entries, so I am fairly confident > YP/NIS is working. Yes, I am aware that I could set up a local password > entry for my UID, with matching UID/GID, but I would prefer to use the > coroporate entry, in case the MIS group decides to change things... :-) BTW, you might want to take care not to cross-post in future. It seems to rub some people up the wrong way. Eddie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message