From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,27bee8a623346ea4 X-Google-Attributes: gidfee84,public From: martin@jerry.alf.dec.com (Martin Moore) Subject: Re: missing root password Date: 1996/04/02 Message-ID: <4jrsm0$qq7@netnews.alf.dec.com>#1/1 X-Deja-AN: 145472872 references: <4jbsu3$ecd@flood.xnet.com> <31599899.20406903@news.teir.com> organization: Digital Equipment Corporation, Alpharetta, GA, USA newsgroups: comp.unix.osf.osf1 Curtis Williams (cwilliam@teir.com) wrote: : Not sure if this will work for you, but if you have an extra hard disk : or if your os original media is a cdrom, you can usually interrupt the : normal boot sequence and boot from an alternate device. You can then : mount the old root device arbitrarily in the file system and go into : the old /etc/passwd file and delete root's password. Then reboot from : the original boot device and log in as root (no password required). : Hope this helps This seems like a lot of extra trouble. Why not just: 1. Halt the system. 2. Boot to single-user mode: >>> boot -fl s 3. Re-mount / read/write and mount /usr in one fell swoop: # /sbin/bcheckrc (note: if running LSM, do '/sbin/lsmbstartup' first.) 4. Change root's password: # passwd New password: blah Verification: blah 5. Continue boot to multi-user mode: # init 3 Martin -- Martin J. Moore 5555 Windward Parkway West UNIX Kernel Support Alpharetta GA 30201-7407 Digital Equipment Corporation 1-800-354-9000 x31679 martin@alf.dec.com DECATL::MARTIN