From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1cf3f55f9dc3a740 X-Google-Attributes: gidfa528,public From: mjhudson@REMOVETHIS.uwaterloo.com Subject: Re: passwd file locked [solution] Date: 2000/06/16 Message-ID: #1/1 X-Deja-AN: 635397230 References: X-Sender: mjhudson@queeg.uwaterloo.ca Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Waterloo Mime-Version: 1.0 Newsgroups: comp.unix.tru64 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