Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 19:38:40 +1000
From:      eirvine <eirvine@tpgi.com.au>
To:        Bruce Burden <brucegb@realtime.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: hmmm, getting 4.3 to talk to net yypasswd file...
Message-ID:  <3AFBB320.FC1484E2@tpgi.com.au>
References:  <20010510212220.A15329@tigerfish2.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AFBB320.FC1484E2>