Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: password file locked
- To: tlug@example.com, sstone@example.com
- Subject: Re: tlug: password file locked
- From: "Andrew S. Howell" <andy@example.com>
- Date: Thu, 12 Mar 1998 19:42:04 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: Text/Plain; charset=us-ascii
- In-Reply-To: Your message of "Thu, 12 Mar 1998 18:18:09 +0900 (JST)"<Pine.LNX.3.96.980312181723.26897S-100000@example.com>
- References: <Pine.LNX.3.96.980312181723.26897S-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Scott" == Scott Stone <sstone@example.com> writes: Scott> This was a problem with Redhat 4.0 or 4.1, if I remember Scott> right. It's a problem with either adduser or passwd Scott> (forget which) which doesn't clean up the lockfile when Scott> it's done. To get around the problem, just remove Scott> /etc/.pwd.lock Just to put my two yen in, one way to figure out whats going on in cases like this is to use strace. strace traces all the system calls that a command uses. The most useful part, is that it shows you all the files an application is trying to open. I usually do something like: strace -F -f -o out some-command grep open out This will list all files, including libraries etc, that the app is opening. For example: strace -F -f -o out ls has the following "open" call in "out" 540 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) 6540 open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 6540 open("/etc/ld.so.cache", O_RDONLY) = 4 6540 open("/lib/libc.so.6", O_RDONLY) = 4 6540 open(".", O_RDONLY) = 4 Andy --------------------------------------------------------------- Next TLUG Nomikai: 11 March Wed 1998 Tengu TokyoEkiMae 19:30 Chuo-ku, Kyobashi 1-1-6, EchiZenYa Bld. B1/B2 03-3275-3691 Next TLUG Meeting: 11 April 1998 Saturday, Tokyo Station Featuring Tague Griffith of Netscape i18n talking on source code --------------------------------------------------------------- a word from the sponsor: TWICS - Japan's First Public-Access Internet System www.twics.com info@example.com Tel:03-3351-5977 Fax:03-3353-6096
- References:
- Re: tlug: password file locked
- From: Scott Stone <sstone@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: server config on Sat
- Next by Date: Re: tlug: server config on Sat
- Prev by thread: Re: tlug: password file locked
- Next by thread: tlug: RE: ISO-8859
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links