From: Adam Price <adam+usenet@pappnase.co.uk>
Subject: Re: password recovery
Date: Thu, 28 Jul 2005 07:11:01 +0100 [thread overview]
Message-ID: <1t1j1g1r561yw$.dlg@pappnase.co.uk> (raw)
In-Reply-To: dc86fu$9us$1@ss405.t-com.hr
On Wed, 27 Jul 2005 16:42:05 +0200, ivica wrote:
> "Adam Price" <adam+usenet@pappnase.co.uk> 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
prev parent reply other threads:[~2005-07-28 6:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 12:04 password recovery ivica
2005-07-27 12:43 ` andy thomas
2005-07-28 16:23 ` -----
2005-07-27 13:04 ` Adam Price
2005-07-27 14:42 ` ivica
2005-07-27 17:33 ` Ann Majeske
2005-07-28 6:11 ` Adam Price [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox