Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Feb 1997 10:07:12 +0700
From:      "Mr.Jatturong Sittichokkananon" <kent70@geocities.com>
To:        Nadav Eiron <nadav@barcode.co.il>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can not login, su and finger as NIS users ...
Message-ID:  <32FA9C60.4F71@geocities.com>
References:  <199702061031.RAA28612@ksc7.th.com> <32F9BDC4.7529@barcode.co.il>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32FA9C60.4F71>