From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,db7cb39715ac10d0 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Adam Price Newsgroups: comp.unix.tru64 Subject: Re: password recovery Date: Wed, 27 Jul 2005 14:04:41 +0100 Message-ID: <62sec52sj9wy$.dlg@pappnase.co.uk> References: Reply-To: adam+usenet@pappnase.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net ERCAHOgrjwqL5o2Ac5nn8QNbBDXqNv9mRwzCBWDVu5lI+KP4Cj User-Agent: 40tude_Dialog/2.0.15.1 X-Face: $%HL1>bt@/.#Q9..+rV,tLW5O*T;6$K?P5E#$MpuT]7#&k)d|ET$6(AB@w{czE[.TI:-mD0 8QBGvE`1e3apUSKT8C7t_.VFSkb'nG5.a+W&UVO:jZX_wof!K9 Xref: g2news1.google.com comp.unix.tru64:224 On Wed, 27 Jul 2005 14:04:53 +0200, ivica wrote: > Hi all, > > anyone has an idea what would one do if root pass was lost (any version of > tru64?) > Any link...? > If the system doens't have a bios password set then the system can be hacked by booting to single user mode and setting a new password. To do this power off the system and then during the boot process use ^c or ^p to interupt the boot before it begins, then at the >>> prompt pass the 's' argument to the kernel. i.e.>>> boot -fl s This will bring you to a root shell on a system running in single user mode. The system filesystems will be mounted read-only or not mounted at all, so use the command bcheckrc to mount them all read write. Then you can use the passwd command to set any root password you need. Adam PS If you have trouble interupting the boot process (The timing can be tricky), then you can always remove the power to the boot disk and then boot. When the system fails to boot you can change the console boot mode to halt and gain access to the >>> prompt that way (Ask for more detail if you need it).