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!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.t-com.hr!news1.t-com.hr!not-for-mail From: "ivica" Newsgroups: comp.unix.tru64 Subject: Re: password recovery Date: Wed, 27 Jul 2005 16:42:05 +0200 Organization: T-Com Message-ID: References: <62sec52sj9wy$.dlg@pappnase.co.uk> NNTP-Posting-Host: ecswall.ecs.hr X-Trace: ss405.t-com.hr 1122475326 10204 194.152.244.5 (27 Jul 2005 14:42:06 GMT) X-Complaints-To: abuse@t-com.hr NNTP-Posting-Date: Wed, 27 Jul 2005 14:42:06 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Xref: g2news1.google.com comp.unix.tru64:225 "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