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!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Adam Price Newsgroups: comp.unix.tru64 Subject: Re: password recovery Date: Thu, 28 Jul 2005 07:11:01 +0100 Message-ID: <1t1j1g1r561yw$.dlg@pappnase.co.uk> References: <62sec52sj9wy$.dlg@pappnase.co.uk> 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 cXhkehKoWPvVaLeJz8hjTQM+77UZUR4P08g4b5rnr5inRip42j 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:227 On Wed, 27 Jul 2005 16:42:05 +0200, ivica wrote: > "Adam Price" wrote in message > news:62sec52sj9wy$.dlg@pappnase.co.uk... >> 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). > > Thanks to all. One more thing, is the situation a lot different when C2 > security is applied? > I guess there are some shadow files to edit insted of passwd... > > Thanks again Follow the exact same procedure as above. The whole point of using the passwd command to change the password is that it does all the hard work with hashed passwords and c2 security databases. If that doesn't work then as Ann says you can use edauth to hack the password entry out of roots tcb database entry. Adam