Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Mark & Suzanne (remove the dot to reply)" <gc.s@s054.aone.net.au>
Subject: Re: Locked password and group files
Date: 1998/03/25	[thread overview]
Message-ID: <351818B9.167E@s054.aone.net.au> (raw)
In-Reply-To: 3517D75A.41C6@tinman.dartmouth.edu


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 :)



      parent reply	other threads:[~1998-03-25  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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