Operating System - HP-UX
1827295 Members
2726 Online
109717 Solutions
New Discussion

Re: unable to delete user account with userdel and NIS

 
Mark Malko
Occasional Advisor

unable to delete user account with userdel and NIS

 
2 REPLIES 2
RAC_1
Honored Contributor

Re: unable to delete user account with userdel and NIS

stop nis and then do userdel. it should work.

Regards,
There is no substitute to HARDWORK
Heiner E. Lennackers
Respected Contributor

Re: unable to delete user account with userdel and NIS

This will only work if the users homedirectory is on the nis master server and the source files are in default position. If this is not the case, you have to do it manually:
On NIS Master:
1.) delete the user entries in passwd and group (and maybe other nis files) (see /var/yp/Makefile where your sourcefiles are)
2.) cd to /var/yp and type make
On Homedirectory server:
3.) delete the users homedirectory

if this makes any sense to you, you have a BIG problem