[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NIS Installation problem



At 10/2/98 02:39 PM -0300, Paulo Henrique Baptista de Oliveira wrote:
>	Hi Debian users,
>	I'm having some troubles into getting NIS into one server and some clients.
>	I step by step followed de Debian NIS HowTo and the NIS HOWTO, but I can't 
>login into a client.
>	In NIS HowTo there is a program to check if NIS is Ok.
>	I created a teste user into server and tried the following:
>	# ymatch teste passwd
>	teste:x:1002:1002:,,,:/home/teste:/bin/bash
>	This seems Ok.
>	Then I tried:
>	# ypcat passwd 
>	epgest20:x:1000:1000:Paulo Henrique B de Oliveira,,,:/home/epgest20:/bin/bash
>	ftp:x:100:50::/home/ftp:/bin/false
>	netplan:x:63434:63434::/var/lib/plan/netplan.dir:/bin/false
>	wnn:x:101:65534:Wnn,,,:/usr/lib/wnn:/bin/false
>	rademake:x:1001:1001:Alexandre Rademaker,,,:/home/rademake:/bin/bash
>	teste:x:1002:1002:,,,:/home/teste:/bin/bash
>	That is good too. When I was root and type su - teste and login into teste 
>account and I begin into teste's home, but then I try su - teste and type 
>the teste password and can't login into. And I know the test's password!!
>	What's wrong?
>	Have a nice day,			Paulo Henrique

I am assuming you have told the /etc/nsswitch to look at NIS.  Also did you
add the "+::::::" entry in your /etc/passwd and /etc/shadow?

If you have just one user you want to get pull the passwd and info for
(such as teste) then you would only have the entry:

+teste:::::: 

in the /etc/passwd and /etc/shadow files.  All other info will be pulled
from the NIS server.

Good luck,
--Jay

PS- If you have not upgraded to HAMM yet, you might have a problem with
shadow passwords.


Reply to: