1846891 Members
3791 Online
110256 Solutions
New Discussion

NIS USERS

 

NIS USERS

Dear All,

I have created some 30 NIS users in HP-UX workstation, and I have nearly 20 clients connected to this workstation. I mounted the users filesystem in my local client machine. When I tried to login using the user id and password created in main HP-UX workstation it is getting failed.

Please help me to find out the way
5 REPLIES 5
Indrajit_1
Valued Contributor

Re: NIS USERS

Hello Yajuvendra,

login to ur client machine try the following commads..

#ypwhich
(it should u display ur nisdomain name)

#ypcat -k passwd

see the output.. u should able to see the user name..

try this and let me know...

Hope u have configured NIS server properly..

cheers
indrajit
Never Ever Give Up
Sivakumar TS
Honored Contributor

Re: NIS USERS


Dear Yajuvendra,

check the #domainname also, and chech wether ths NIS daemons and rpc services are running in the server (ypserv, etc ) and clients too.

HtH,

Siva.
Nothing is Impossible !
RAC_1
Honored Contributor

Re: NIS USERS

1. Have you set clients to use nis server??
check ypwhich. check if ypbind process is running or not.
check nsswitch.conf-does it allow for looks in nis??

2. On clients, are nis daemons running??
/sbin/init.d/nis.client start
There is no substitute to HARDWORK
V. Nyga
Honored Contributor

Re: NIS USERS

Hi,

have you added a '+' at the end of passwd, group and hosts at the clients?

Please give us a feedback

Volkmar
*** Say 'Thanks' with Kudos ***
Tvs
Regular Advisor

Re: NIS USERS

hi singh,

1. check the ypbind and portmap service running

2. check the /etc/nssswitch.conf file
( example passwd: nis files )

3.check with password file which is refering to login ( u can use ypcat, or passwd -r nis )

4.kill the portmap and ypbind process. and restart the service
(/sbin/init.d/nis.server)