user deletion problem
Craig White
craigwhite at azapple.com
Fri Oct 14 02:07:36 UTC 2011
On Thu, 2011-10-13 at 20:08 +0530, PM wrote:
>
>
> That user is no longer listed in /etc/passwd?
>
>
> Here is the complete history and error details:
>
> myfamily at myfamily-desktop:~$ userdel -f linuxworld
> userdel: cannot lock /etc/passwd; try again later.
> myfamily at myfamily-desktop:~$ sudo userdel -f linuxworld
> [sudo] password for myfamily:
> userdel: cannot lock /etc/gshadow; try again later.
>
> The error I am getting is this one. And the user to be deleted is
> 'linuxworld'
----
you have to be superuser (or root)
sudo userdel -f linuxworld
or
sudo su -
userdel -f linuxworld
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the ubuntu-users
mailing list