LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2003, 02:06 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
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.
 
Old 10-11-2003, 02:11 AM   #2
Col Panic
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 93

Rep: Reputation: 15
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
 
  


Reply


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
modem lock file? ankscorek Linux - Hardware 4 11-19-2005 04:58 AM
How to lock a file satimis Linux - General 2 03-09-2005 05:50 PM
Can't read lock file /tmp/.X0-lock squinn Linux - Newbie 3 07-13-2004 03:42 PM
can't create lock file? Class Zero Linux - Newbie 3 01-30-2002 05:24 AM
red !lock file blistfix Linux - General 0 08-28-2001 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration