Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 1997 11:38:25 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        "Mr.Jatturong Sittichokkananon" <kent70@geocities.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can not login, su and finger as NIS users ...
Message-ID:  <Pine.BSF.3.91.970207113649.2283B-100000@gatekeeper.barcode.co.il>
In-Reply-To: <32FA9C60.4F71@geocities.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 7 Feb 1997, Mr.Jatturong Sittichokkananon wrote:

> Nadav Eiron wrote:
> > 
> > The Mall - Ngamwongwan wrote:
> > >
> > >         I used NIS by add defaultdomainname and run ypbind (change in file
> > >
> > > /etc/sysconfig) and add nis in /etc/host.conf file.
> > >         I can see NIS database by use any yp command eg. ypcat ypwhich when
> > > login as user in FreeBSD, I can see every hosts in NIS database when use
> > > command rlogin or telnet, and GID when see owner of file was correct.
> > >         But I can not login as NIS users, su and finger.
> > >
> > >         I tried to add +:*::::: or +AccountName:*::::: in /etc/passwd and
> > > /etc/master.passwd but it not help me.
> > >
> > >         I have some misstake in operate? And How to correct them?
> > 
> > Don't put the "*" in the passwd file. Also use vipw only to edit your
> > local passwd files. What you need is add (using vipw) a line that reads:
> > 
> > +:::::::::
> > 
> > to your passwd and master.passwd files. This will take all information
> > for any user from NIS.
> > 
> > >
> > >         Thank for advance..
> > >
> > >         Noppadol Mueanpai               Email: jss01@ksc7.th.com
> > >                                                s4103164@diamond.ce.kmitl.ac.th
> > Nadav
> 
> 	I used vipw add line +::::::::: , it added +:*::::: to /etc/passwd and
> +::::::::: to /etc/master.passwd. Now finger work but login and su have
> problem.
> 	I can not login and su as NIS users. But I tried to delete passwd of
> user form NIS database, login and su work. I think it has somethings
> misstake or not compat of Cript and Decript passwd.
> 	I use Sun 670 Workstation and SunOS release 4.1.3 As NIS server,
> FreeBSD release 2.1.6 in Pentium 100 PC. Connect via 3Com LinkBuilder
> HUP to thick internet backbone.
> 	This is problem with FreeBSD or me? And How to correct it?
> 
> 	Thank for advance..
> 
> 	Noppadol Mueanpai			Email: kent70@geocities.com
> 
Did you install DES on your FreeBSD machine? It should be installed if 
you're using some other OS's passwd encryption routines. Also check out 
that the group map is set up correctly in the NIS database, as you'll 
have to be in wheel to su.

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970207113649.2283B-100000>