From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,31309a402f368e5f X-Google-Attributes: gidfee84,public From: pdchapin@unix.amherst.edu (PAUL D. CHAPIN) Subject: Re: Lost Root Password... (Ahhhhhhh!!!!) Date: 1995/11/01 Message-ID: <4784ug$qjt@amhux3.amherst.edu>#1/1 X-Deja-AN: 118391777 references: <473fnm$96b@nuclear.verity.com> organization: Amherst College, Amherst MA, USA newsgroups: comp.unix.osf.osf1 Dan Pop (Dan.Pop@mail.cern.ch) wrote: : In <473fnm$96b@nuclear.verity.com> klister@verity.com (Kevin Lister) writes: : >I have just started at Verity as UNIX sysadmin, and guess what. : >No-one has the root passwd on our DEC alpha XP, running OSF1 : >version 2.1. : > : >The question is, how do I break in and change the root passwd? : The same way any Unix sysadmin does it: boot in single-user mode and : type "passwd". Depending on how you're set up, you may have to manually mount the disks for this to work. If, for some reason, passwd doesn't want to run in single-user mode there is the real quick and dirty solution. Just remove the root password from the passwd file in single user, switch to multiuser, log on as root and then run passwd. This is a security abomination, but the odds of anybody just happening to try logging on as root in the first thirty seconds after coming up to multi-user is pretty low. -- Paul Chapin Unix Systems Manager Amherst College