Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-14-2004, 06:19 AM   #1
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
removing users with userdel


im loged inn with root, but when i try to remove a user i get this:

[root@pimp root]# userdel -r ole
userdel: unable to lock group file

[root@pimp root]# userdel ole
userdel: unable to lock group file

What does this mean ?

Old 09-15-2004, 02:35 AM   #2
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16

just run this:

ls -l /etc/group*

there should be a file called group.lock or something similar. delete the file and all will be fine.

- Subhasis


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems adding/removing users in FreeBSD asilentmurmur *BSD 14 10-26-2005 06:43 PM
userdel command... should I run it? The_Nerd Linux - Software 2 09-12-2004 09:31 PM
Removing users from red hat linux sam_casperson Linux - General 2 05-18-2004 11:38 PM
Removing default users in passwd file? ridertech Linux - Newbie 1 05-08-2004 05:33 PM
Removing unnecessary services and users/groups Jiggy Linux - Security 4 11-18-2003 02:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration