* passwd file locked
@ 2000-06-16 4:00 mjhudson
2000-06-16 4:00 ` passwd file locked [solution] mjhudson
0 siblings, 1 reply; 2+ messages in thread
From: mjhudson @ 2000-06-16 4:00 UTC (permalink / raw)
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.
(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?
Thanks
Mike
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: passwd file locked [solution]
2000-06-16 4:00 passwd file locked mjhudson
@ 2000-06-16 4:00 ` mjhudson
0 siblings, 0 replies; 2+ messages in thread
From: mjhudson @ 2000-06-16 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-06-16 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-16 4:00 passwd file locked mjhudson
2000-06-16 4:00 ` passwd file locked [solution] mjhudson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox