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

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!
newindAsked:
Who is Participating?
 
ecwConnect With a Mentor Commented:
If you're sure nobody else is editing /etc/passwd, you can safely remove /etc/ptmp
0
 
newindAuthor Commented:
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
All Courses

From novice to tech pro — start learning today.