System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create NIS user with out SAM

kvsheejith
Advisor

How do i create NIS user with out SAM

Can some body guide me How do i create NIS user with out SAM, i mean in using command.
4 REPLIES
Jupinder Bedi
Respected Contributor

Re: How do i create NIS user with out SAM

you can do the following steps


simply create the user on your NIS master server by using useradd command and than you need to run following


#cd /var/yp
#make all


Good Luck
All things excellent are as difficult as they are rare
kvsheejith
Advisor

Re: How do i create NIS user with out SAM

I have tried that

#cd /var/yp
#make

But still my user is not included in passwd map. what should i do?
Jupinder Bedi
Respected Contributor

Re: How do i create NIS user with out SAM

can you give me the output of ypwhich

and also ypcat passwd | grep username

and cat /etc/passwd | grep username

All things excellent are as difficult as they are rare
kvsheejith
Advisor

Re: How do i create NIS user with out SAM

1] ypwhich is showing my NIS server

2] ypcat passwd | grep user1
no result

3] cat /etc/passwd | grep user1
Is showing the result