From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3d6d13efafb301c2 X-Google-Attributes: gidfee84,public From: "Mark & Suzanne (remove the dot to reply)" Subject: Re: Locked password and group files Date: 1998/03/25 Message-ID: <351818B9.167E@s054.aone.net.au>#1/1 X-Deja-AN: 337283854 Content-Transfer-Encoding: 7bit References: <3517D75A.41C6@tinman.dartmouth.edu> Content-Type: text/plain; charset=us-ascii Organization: Garetech Computer Solutions P/L Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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 :)