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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.