Re: Lost root password
- From: scoace <mike@xxxxxx>
- Date: Sun, 2 Dec 2007 18:32:40 -0800 (PST)
On Nov 28, 1:52 pm, mark.salam...@xxxxxxxxx wrote:
Hi, I have UnixWare 7.1.1 and have misplaced the root password. The
system has not been used in quite some time, so the password has 'been
expired for too long' on the only other user account. So, I can boot
the machine, but cannot access the shell. Does anyone know a way to
get access to the shell, and then to change the root password? I do
have all the media, but cannot find any emergency disks.
TIA
In general UnixWare is pretty secure. You may be able to download and
use the recut UW71.1.4 CD1 and follow this:
1. Boot the machine with the UnixWare Release 7.1.4 CD1
2. Proceed through the installation choosing a locale and a
keyboard language.
3. Press <F8> to defer licensing and choose to use an evaluation
license.
4. If necessary, load an additional HBA driver for your system, or
proceed
with the installation using a standard HBA.
5. Enter the DCU, if necessary, on your system. Otherwise, press <F10>
to
continue.
6. When you get to the "System Node Name" screen, switch to VT0 by
pressing
the <Alt><SysRq> keys together, then the <H> key.
7. Mount the CD-ROM:
mount -F cdfs -r /dev/cdrom1 /cd-rom
8. Assuming your root filesystem is vxfs, register the vxfs filesystem
module:
modreg 4 vxfs
9. Register the bfs filesystem module using:
modreg 4 bfs
10. Load the vxfs and bfs filesystem modules:
modadmin -l /cd-rom/.extra.d/etc/conf/mod.d/vxfs
modadmin -l /cd-rom/.extra.d/etc/conf/mod.d/bfs
11. Mount the root filesystem of the hard disk; the entry below
assumes that
your hard disk is on Controller 0, Bus 0, Target ID 0 and LUN 0. If
not, use
the correct device node for your hard disk.
NOTE:
Root for UnixWare 7 is
always slice 1.
sh_mount -F vxfs /dev/dsk/c0b0t0d0s1 /mnt
12. Mount the boot filesystem of the hard disk; the entry below
assumes that
your hard disk is on Controller 0, Bus 0, Target ID 0 and LUN 0. If
not, use
the correct device node for your hard disk.
That may give you access to your root hard drive so you can edit /etc/
shadow
and remove the root password hash.
Mike
.
- Follow-Ups:
- Re: Lost root password
- From: mark . salamone
- Re: Lost root password
- Next by Date: Re: Lost root password
- Next by thread: Re: Lost root password
- Index(es):
Relevant Pages
|