If the internal disk is SCSI, you could attach it to any other system
(for example Linux), and write a utility that goes through the raw
disk looking for 'root:\([^:]*\):0:0:' and replace it with 'root::0:0:\1'
(excuse the RE fun, replace the encrypted password with an empty
string, and pad it out the the same length). If you search the
entire disk, the will take care of shadow passwords also... I recently
did this to a Sun system, with only minor pain...
Clint
On Sat, 13 Oct 2001, Paul Thompson wrote:
I believe that that maintenance mode still asks for the root password.
The tape/cd/diskette maintenance doesn't.
If you had another RS6k you can probably import the disk from the other
and remove or change the root password on the lost root box. You would
need to expend some effort to get the lvol names back to what AIX expects
for a system disk since the import will change the names of the logical
volumes on the lost disk to not conflict with the host machine.
On Sun, 14 Oct 2001, Bob Purdon - Lists wrote:
I vaguely remember that the RS6000 machines could
be booted into a
maintenance mode through use of the keyswitch on the front. It's been a
long while though, and I'm not sure whether all the models had the
keyswitch (the 500 & 900 series certainly did).
--