Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to delete user or create user

Status
Not open for further replies.

sivakavi

Technical User
Apr 12, 2002
2
US
I deleted a user using rmuser but didn't use the -p parameter. Now the user is deleted but the passwd file has an entry of this user. How to go about clean it up so I can create a new user with the same name.
 
Resolved:

Well, I figured out that the entry on /etc/passwd and /etc/security/passwd (the shadow) needs to be removed and along with that /etc/security/users also have entry about this users. If you clean all of these then the users can be created.

The /etc/security/users also tell the OS where to look for the id's auth like compat or LDAP and local passwd file or Ldap etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top