Operating System - HP-UX
1820268 Members
3103 Online
109622 Solutions
New Discussion юеВ

ON NIS... Only root is able to login into one server

 
SOLVED
Go to solution
Anil C. Sedha
Trusted Contributor

ON NIS... Only root is able to login into one server

Hi..

All of a sudden, on one of my servers only root is able to login.

can someone come up with some ideas..
If you need to learn, now is the best opportunity
5 REPLIES 5
Helen French
Honored Contributor

Re: ON NIS... Only root is able to login into one server

Hi Anil,

Does your server running in trusted mode ?

Shiju
Life is a promise, fulfill it!
Anil C. Sedha
Trusted Contributor

Re: ON NIS... Only root is able to login into one server

my server is a database server and is in trusted mode.

i am logging into the server thru NIS.

however, when i do rlogin -l root, I am able to login..however i am not able to login thru any other id.

regards
If you need to learn, now is the best opportunity
S.K. Chan
Honored Contributor
Solution

Re: ON NIS... Only root is able to login into one server

Check is your /etc/passwd file is messed up. It should have
+:*:0:0::
right at the bottom of the file.
A. Clay Stephenson
Acclaimed Contributor

Re: ON NIS... Only root is able to login into one server

Hi Anil:

You can't be using NIS in a trusted environment. In the trusted world, you must use NIS+ instead.
If it ain't broke, I can fix that.
Krishnan Viswanathan
Frequent Advisor

Re: ON NIS... Only root is able to login into one server

Also pl check the permission on the passwd file
It should be 444. The last line in the passwd file should be +::-2:-2::: if your server is a NIS slave.

also if you have connectivity with the master server. Also run /var/yp/ypxfr_1perhour to update the NIS maps on your slave (Check your NIS binding by doing ypwhich).