Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: mjhudson@REMOVETHIS.uwaterloo.com
Subject: Re: passwd file locked [solution]
Date: 2000/06/16	[thread overview]
Message-ID: <Pine.LNX.4.10.10006161211001.13072-100000@queeg.uwaterloo.ca> (raw)
In-Reply-To: Pine.LNX.4.10.10006160914370.9768-100000@queeg.uwaterloo.ca


Well from various sources I have found the answer 

On Fri, 16 Jun 2000 mjhudson@REMOVETHISANTISPAMSTUFFuwaterloo.ca wrote:

> I have a couple of quasi-newbie questions for my machine running Digital
> Unix 4.0E
> 
> (1) Tried to add a new user account, something I have done before with
> no probs, but this time got the following error:
> --
> 
> The password and group files are currently locked by another user.
> Please try again later.
> Error, exiting useradd /usr/sbin/adduser. Check /etc/passwd.
> 
> ---
> This persisted even after reboot.  Is there some kind of lock 
> file that controls access to /etc/passwd. Examination of /etc/passwd
> didn't reveal anything unusual, and as usual the manuals weren't much good
> for trouble shooting.
> 
> Incidentally, I am just running base security, not enhanced.

This was on the Tru64 FAQ page but under "miscellaneous" section 
not sections alpha" and "software" (where I had already looked(!)).
(Sorry for asking a question which was already in the FAQ)

FYI the solution is 

M17. Why does dxaccounts tells me that the password and
      group files are locked

If a dxaccounts process exits ungracefully (e.g. if a kill -9
is used) then it sometimes leaves a file in /etc called .AM_is_running.
Deleting this file will solve the problem. 

                                    [Ian Lloyd]

> (2) How does one add daemons so that they are started automatically 
> when the system boots up. i.e. in linux it is by putting the commands 
> in e.g. /etc/rc.d/rc.3/Snncommand.  What is the Digital Unix equivalent?

The relevant directory is e.g. /sbin/rc3.d.

Mike




      reply	other threads:[~2000-06-16  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-16  4:00 passwd file locked mjhudson
2000-06-16  4:00 ` mjhudson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox