Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Feb 1997 13:17:24 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        The Mall - Ngamwongwan <jss01@ksc7.th.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can not login, su and finger as NIS users ...
Message-ID:  <32F9BDC4.7529@barcode.co.il>
References:  <199702061031.RAA28612@ksc7.th.com>

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



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