?
Solved

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

Posted on 2003-03-24
2
Medium Priority
?
505 Views
Last Modified: 2013-12-15
I would get the message above when I try to manage users in Mandrake Control Center.
When I try the useradd command in console, i get the message : vipw lockfile (/etc/ptmp) is present
How to I prevent this?

Thanks!
0
Comment
Question by:newind
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
ecw earned 200 total points
ID: 8203982
If you're sure nobody else is editing /etc/passwd, you can safely remove /etc/ptmp
0
 

Author Comment

by:newind
ID: 8207358
Yes, I'm the only one using it.  But how do I prevent this?  I don't want to keep on deleting the file whenever I do User Management.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question