Share your knowledge at the LQ Wiki.
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 12-21-2003, 11:38 PM   #1
LQ Newbie
Registered: Dec 2003
Location: Planet Earth
Posts: 12

Rep: Reputation: 0
Cannot lock user/lib error in mandrake?

I am very new to linux, I just installed it a day ago... when I visit the "Manage Users" or "userdrake" for adding new users or to change permission access after 1 or two minutes the window for "manage users" automatically get closed and when I again start it, it give me the following error:

Cannot lock user/lib file /etc/ptmp or /etc/gtmp exist

I also try this out my rebooting the PC as well as login as "root" and as normal user...but it did not get correct.. when ever I delete these two files i-e "gtmp" and "ptmp" it works! I am very confused...

Old 12-22-2003, 11:46 AM   #2
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Might things work better if you used 'useradd' (is it?) and 'chmod' (for changing permissions) at a terminal?


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
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 17 07-12-2016 02:50 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages orly Linux - Software 2 09-06-2004 07:13 AM
error:cannot get exclusive lock on /var/lib/rmp/packages mateka Linux - Newbie 1 06-26-2004 10:07 PM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM
Mandrake 9 - "cannot lock user lib..." airdapper Linux - Distributions 5 12-31-2002 09:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 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