user deletion problem

PM ubuntu.bkn at gmail.com
Thu Oct 13 18:01:44 UTC 2011


> ls /etc/*.lock and you should find that there is a passwd.lock and or a
> gshadow.lock file.  If so, have a look in them to get the PID of the process
> that created the lock file.
>

I ran the following and got the following:

myfamily at myfamily-desktop:~$ ls /etc/*.lock
/etc/gshadow.lock
myfamily at myfamily-desktop:~$



>   cat /etc/gshadow.lock
>

myfamily at myfamily-desktop:~$ sudo cat /etc/gshadow.lock
myfamily at myfamily-desktop:~$

gshadow.lock file has no contents to be displayed!!


> Then find out if that PID is still in use (and if it's something that
> should have a lock on your shadow files)
>
> ps -e | grep pid_number  (whatever the pid was in the lock file)
>

I don't know what to do now? Don't know what these files are and doing?
Simply tried to delete the user from Users and Groups but again not
successfull!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111013/fb66e837/attachment.html>


More information about the ubuntu-users mailing list