Web Hosting Talk







View Full Version : Password File Locked error


leonardteo
07-22-2001, 12:22 PM
Hey guys,

I'm having this odd error with the Server Management. Whenever I try to change a user's settings (password, quota, etc. etc.) an error comes up - "The password file is locked".

I've taken a look around and make sure that /etc/shadow and /etc/passwd are both non immutable. Can't seem to pinpoint the problem.

Also, when I try to add a user, the page simply does not load up.

This is on a Raq 4i.

Any advise?

Leonard

leonardteo
07-23-2001, 01:46 AM
Hi guys! I fixed it!

When the Server Management script changes any user password information, it locks the password file by putting it in /etc/locks/ as a file called ptmp. What happened was that the script somehow didn't remove this file, so everytime I wanted to change any user information it complained that the password file is locked.

Whew! Been swearing my head off for the last couple of days trying to solve this...

Leo