* Locked password and group files
@ 1998-03-24 5:00 John Lyon <SPP>
1998-03-24 5:00 ` potterveld
1998-03-25 5:00 ` Mark & Suzanne (remove the dot to reply)
0 siblings, 2 replies; 3+ messages in thread
From: John Lyon <SPP> @ 1998-03-24 5:00 UTC (permalink / raw)
I'm running 4.0B on an Alphastation 500/400. The enhanced security
subset is installed but the security level is set at BASE. I attempted
to move a user's home directory by editing the /etc/passwd file directly
(emacs, not vipw). The change did not take, even though the passwd file
showed the new home directory. I changed it back in the editor and
headed to the GUI account admin program. The window failed to come up.
Using 'usermod' leads to an error message, "password and group files
locked by another user ...". Strangely enough, 'adduser' works O.K.
I have been unable to find out where and how the locking is
accomplished.
Any help would be appreciated.
John Lyon
lyon@tinman.dartmouth.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Locked password and group files
1998-03-24 5:00 Locked password and group files John Lyon <SPP>
@ 1998-03-24 5:00 ` potterveld
1998-03-25 5:00 ` Mark & Suzanne (remove the dot to reply)
1 sibling, 0 replies; 3+ messages in thread
From: potterveld @ 1998-03-24 5:00 UTC (permalink / raw)
In article <3517D75A.41C6@tinman.dartmouth.edu>, "John Lyon <SPP>" <lyon@tinman.dartmouth.edu> writes:
|>I'm running 4.0B on an Alphastation 500/400. The enhanced security
|>subset is installed but the security level is set at BASE. I attempted
|>to move a user's home directory by editing the /etc/passwd file directly
|>(emacs, not vipw). The change did not take, even though the passwd file
|>showed the new home directory. I changed it back in the editor and
|>headed to the GUI account admin program. The window failed to come up.
|>Using 'usermod' leads to an error message, "password and group files
|>locked by another user ...". Strangely enough, 'adduser' works O.K.
|>I have been unable to find out where and how the locking is
|>accomplished.
|>
I'm not sure about BASE security, but ENHANCED security uses lock files.
From "man authcap":
All databases use a lock file, the existence of which means that the file
is currently being rewritten. Occasionally, the files remain after a system
crash and must be removed manually. The lock file is formed by appending :t
to the database file name.
Maybe BASE security does something similar.
David Potterveld
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Locked password and group files
1998-03-24 5:00 Locked password and group files John Lyon <SPP>
1998-03-24 5:00 ` potterveld
@ 1998-03-25 5:00 ` Mark & Suzanne (remove the dot to reply)
1 sibling, 0 replies; 3+ messages in thread
From: Mark & Suzanne (remove the dot to reply) @ 1998-03-25 5:00 UTC (permalink / raw)
John Lyon wrote:
>
> I'm running 4.0B on an Alphastation 500/400. The enhanced security
> subset is installed but the security level is set at BASE. I attempted
> to move a user's home directory by editing the /etc/passwd file directly
> (emacs, not vipw). The change did not take, even though the passwd
Why haven't you tried vipw ??? I think it would have fixed your problem
> showed the new home directory. I changed it back in the editor and
> headed to the GUI account admin program. The window failed to come up.
> Using 'usermod' leads to an error message, "password and group files
> locked by another user ...". Strangely enough, 'adduser' works O.K.
> I have been unable to find out where and how the locking is
> accomplished.
The passwd file is locked by the creation of /etc/ptmp and maybe
/etc/ptmp.pag /etc/ptmp.dir usually a copy of the /etc/passwd*
Anyway in your case locking is not yet your problem
the extra step that is missing that vipw and its ilk carry out
is building the dbm database for /etc/passwd
/usr/sbin/mkpasswd -v /etc/passwd
Try man 8 mkpasswd
Cheers
Mark :)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-25 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-24 5:00 Locked password and group files John Lyon <SPP>
1998-03-24 5:00 ` potterveld
1998-03-25 5:00 ` Mark & Suzanne (remove the dot to reply)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox