From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,78217f97c748a4f6 X-Google-Attributes: gid1164f8,public From: Dirk Kleinhesselink Subject: Re: root account locked Date: 2000/03/08 Message-ID: <38C6DCA5.A4DD748@phy.ucsf.edu>#1/1 X-Deja-AN: 595072841 Content-Transfer-Encoding: 7bit References: <38C431F0.C4018233@biofluid.ortho.sunysb.edu> <38C53DEE.FACB0732@phy.ucsf.edu> <38C553A9.4E4EA5B8@biofluid.ortho.sunysb.edu> <38C5A5F0.15D769B1@phy.ucsf.edu> <38C69D9F.BA240A4D@biofluid.ortho.sunysb.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: HHMI Mime-Version: 1.0 Newsgroups: comp.sys.dec Yanmei Li wrote: > I am using the Digital UNIX 4.0B. > The /etc/passwd file is OK in other field, other users still can login.(Only root > account is locked). > Probably the hashed database is used (but not sure). > I didn't use vipw, this editor is not available in single-user-mode. I used echo > to change the passwd file. > > Thank you very much for your help. > Yanmei > > I would try to boot into single user mode, remount root to be writable, mount /usr and /var - if /var is a separate file system and then try to run vipw. I never tried that before, but I would think that with all local filesystems mounted, it should work -- you might need to set the path, too. Dirk