user deletion problem

PM ubuntu.bkn at gmail.com
Fri Oct 14 16:29:24 UTC 2011


> This might be a little reckless without more information on why that lock
> file is there and empty, but if this were me, I would just delete that lock
> file and see what happens.  (If you break it, you get to keep both halves,
> so it's all good anyhow)
>
> sudo rm /etc/gshadow.lock
>
> If you really want to be safe, you can reboot in single user/recovery mode
> before doing this.  But I can't imagine what process would legitimately be
> keeping a lock on the gshadow file, and I think this must just be something
> left over from a very badly timed unclean shutdown.
>

sudo rm /etc/gshadow.lock

Only this command worked! I just deleted gshadow.lock file and the problem
got solved! However I don't know about its creation (why did it get
created?) and the purpose of it after being getting created!

Thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111014/3077e4aa/attachment.html>


More information about the ubuntu-users mailing list