[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redhat 4 - locked passwd




On Fri, 13 Jun 1997, Oori Hasson wrote:

> I want to add a user using adduser, and I get
> "/etc/passwd is locked. Try again later."
> I don't see any other process accesing it.

to be on the general side of things, next time you encounter such a
problem, use 'strace' to run the command (dont' forget to use 'script'
first to copy all screen output to a file). then you'll see exactly all
system calls. including 'open' to attempt opening the file, or 'stat' to
check for its existence.

guy


References: