Archive

Posts Tagged ‘Password unix’

How to Remove the User with Root id

February 21st, 2010 sam No comments

I was checking the users in my unix box. Some old users where created by the previous administrator. When i tried to delete from the smc it was throwing error, “The account is mandatory, cant be deleted”.

So, There is a workaround.

1. remove the entry from the passwd file # vi /etc/passwd

2. #pwconv

3. cat /etc/shadow

Categories: UNIX Tags: