cost the 'net hundreds, if not thousands of dollars to say:
> Need Imediate help! Passwd file line with UID=0 is gone. How can I
>re-create this entry without being able to log in as root???? All
>process the use root equiv. are useless.
> Thank in advance for your quick responces.
> Brett G
> Brey G
> Over The Mountains and Through The Hills
> To Grandmothers House I Jeep
You do not mention what version of HP-UX you are running or if
you have a logical volume manager. LVM will certainly complicate
things for repair when booting from the install media. Here is the
procedure to follow after you run a recovery shell off of the install
media in HP-UX 10.x running LVM to mount a volume:
mknod group c 64 0x000000
/sbin/vgimport /dev/vg00 /dev/dsk/c0t?d0
/sbin/vgchange -a y /dev/vg00
/sbin/mount /dev/vg00/lvol3 /mnt
/sbin/mount /dev/vg00/lvol7 /mnt/usr
Which will give you the root and /usr filesystems.
Mario Stargard, Systems Admin | "Security for an OPEN World"
Product Development Group | Network security solutions for
SAGUS Security Incorporated | the enterprise.
(613) 234 7300 x214 | http://www.sagus-security.com