LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 30
removing users with userdel


hi!

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 ?

ole
 
Old 09-15-2004, 02:35 AM   #2
subhasis_ray
Member
 
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
Hi,

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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 PM.

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