Computing.Net > Forums > Unix > Lost Root password - Unixware 7

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Lost Root password - Unixware 7

Reply to Message Icon

Name: Leigh
Date: March 7, 2001 at 13:38:31 Pacific
Comment:

I had a server crash and can no longer use the root login as the password has changed. Is there anyway of restoring the root password?



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfram Kraft
Date: March 7, 2001 at 22:21:01 Pacific
Reply:

hi Leigh,

don't know anything about Unixware.
In most cases it is sufficient to boot to single-user mode, mount your filesystems r/w
and set a new root-pw with the passwd-cmd.
You needn't know the old pw to change root's pw in su-mode.

greet$
Wolfie


0

Response Number 2
Name: James Smyth
Date: March 25, 2001 at 12:12:37 Pacific
Reply:

But don't you usually need the root password to boot into single-user mode? I know my IRIX machine does.


0

Response Number 3
Name: eeb22
Date: March 28, 2001 at 12:01:57 Pacific
Reply:

- boot from the installation disk.
- fsck root partition
ie: fsck -y /dev/dsk/c0t3d0s0
fsck -y /dev/rdsk/c0t3d0s0
- mount /dev/dsk/c0t3d0s0 /a
- using favorite editor edit /a/etc/shadow
if using shadowing, else edit /a/etc/passwd
and make the second field for root null
ie: root:fhsdhfhsd:16655:::::: would become
root::16655::::::
- reboot -- -s
(reboot space hyphen hyphen space hyphen s)
login as root and set the passwd


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Lost Root password - Unixware 7

Lost root password www.computing.net/answers/unix/lost-root-password/3492.html

installation of unixware 7.1.1 on P-4, 2100S www.computing.net/answers/unix/installation-of-unixware-711-on-p4-2100s/8459.html

lost root password www.computing.net/answers/unix/lost-root-password/1726.html