1748144 Members
3473 Online
108758 Solutions
New Discussion юеВ

Passwd Recovery

 
Raghunandan M R
Occasional Advisor

Passwd Recovery

hi
I need to recover my Root Paswd.
I am in the SingelUser mode. When I try to say Mount -a.
it only mounts /proc. and /usr and /var doesnt get mounted.
I am new to Tru 64 but have been on HPUX for along time.
When I say mount -a it gives me a device file name of one of the Vol grp and says invvalid device file.
But it works fine when I boot to multiuser mode.
Can U tell me how to recover my root passwd
3 REPLIES 3
Raghunandan M R
Occasional Advisor

Re: Passwd Recovery

The ERROR MESSAGE IS

error: /dev/vol/rootdg/vol-dsk0g is an Invalid Device or Cannot be Opened
Keely Jackson
Trusted Contributor

Re: Passwd Recovery

Hi

Have you tried mount -u?

From the man page

-u Requests that the system remount a file system so that it can update any incore data blocks for ufs and AdvFS type file systems. This flag works only for ufs and AdvFS file systems that are currently mounted read-only and updates the file systems from read-only to read-write.

For example, the mount -u / command updates the root file system from read-only to read-write.

Cheers
Keely
Live long and prosper
Robert-Jan Goossens
Honored Contributor

Re: Passwd Recovery

Hi,

Try this link,

http://www.unixguide.net/unixguide.pdf

press the HALT Button or
(Control-P)
>>>boot -fl s
lsmbstartup
/sbin/bcheckrc
passwd root

Hope it helps,

Robert-Jan.