Lock file
I found the below problem in the RH system , when one user is changing the password by the command "passwd " , the another can't change the password at the same time , because it will first first locks /etc/.pwd.lock to prevent concurrent updates
the file /etc/passwd , I tried to change the mode of .pwd.lock to 777 , it still can't allow the another to login at the same time , can I disable the lock password file function ? if not can suggest what I can do except remove the file ? thx. |
It's locked to preserve the sanity of the file. I wouldn't recommend chmod on it at all, if it even works. you probably can not modify the file in two or more instances simultaneously
|
All times are GMT -5. The time now is 06:05 PM. |