Operating System - HP-UX
1833772 Members
2417 Online
110063 Solutions
New Discussion

deleting a user removes the NIS

 
SOLVED
Go to solution
Ravi_8
Honored Contributor

deleting a user removes the NIS

Hi, all
we have a D-390 machine which is a NIS client,unless we add +:: in /etc/passwd file no NIS user can login.After adding +:: in passwd file, all NIS users can login. at this time if i add a user(#useradd -g mqm user1) user1 will be added with the group mqm(mqm group created in NIS server) and the entry can be seen in passwd file. if i issued #id user1, command works fine. if i delete the user1(#userdel user1), user1 will be deleted and at the same time line +:: in passwd file will also be deleted, and no NIS users can login after this. does anybody faced this problem? pls let me know the solution.

thanx in advabce
never give up
3 REPLIES 3
Robin Wakefield
Honored Contributor
Solution

Re: deleting a user removes the NIS

Hi Ravi,

You need patch PHCO_18925 (s700_800 10.20 user/group(add/mod/del) Cumulative patch)

Rgds, Robin
Ravi_8
Honored Contributor

Re: deleting a user removes the NIS

Hi, Robin
thanx a lot, after applying this patch it's working.
never give up
Rolf Lundqvist
New Member

Re: deleting a user removes the NIS

Hi,
Look up the use of "/etc/nsswitch.conf" in the man pages.
It defines the search order between files, NIS, DNS.
Also it replaces the "+" function more securelly.
There are example files "/etc/nsswitch.*"
/Rolf