1836738 Members
2972 Online
110109 Solutions
New Discussion

Nis Server

 

Nis Server

Hi All,

I Have a NIS server and around 11 clients.
whenever i change the user passwd on the server it log into the server.But when i login to the client it doesnt log by the same passwd which was changed on server but logs by local user passwd.and whenever i rename the passwd and group files .it logs by the passwd which was changed on the server.

can you tell how can i skip the local passwd file without renaming it on the client side and log in.

regards
thanks in advance

regards
Mangesh
3 REPLIES 3
MarkSyder
Honored Contributor

Re: Nis Server

Does the /etc/passwd file on the client finish with the line:

+::0:0:::

which instructs the system to check the NIS server if the name is not in the local file?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing

Re: Nis Server

Actually i am having the same passwd file which is in server, on all clients before the nis server was installed

regards
mangesh
Max Moll
Advisor

Re: Nis Server

Hello Mangesh

you have to do some configuration steps on the nis clients

1.) enable nis on the client
(configure /etc/rc.config.d/namesvrs)

2.) change the order the files (passwd) where
used on the nis client
First NIS Date then local files
see man nsswitch.conf an change the order by using SAM - Networking - NameServiceSwitch

If the NIS server is setup right and the clients are configured, it shut work.

Best regards
Max