On Wed, 3 Jan 2001 at 10:48, dwen wrote:
>One of my servers is asking for root password for maintenance,
>unfortunately i forgot the password. Is there any other way to bypass
>that ?

Depending on what your distribution is (and how it is set up), you may be
able to get by without the need for a rescue boot disk. AFAIR, RedHat is
one distro where a "linux single" will get you all the way to the shell as
root. Debian, which I use now, still requires a password, though (which is
a great thing for me!).

Nontheless you will have a common goal: get access to the partition
containing /etc/passwd and/or /etc/shadow. Access the /etc/passwd or
/etc/shadow (depending on whether you've got shadow passwords enabled)
with your favorite text editor, and delete all the characters between the
first and second colons (:) of the line for the root user. Save. Reboot.
Login as root and you're in. Make sure you change your password (using
passwd) ... and remember it.

Good luck! :)

 --> Jijo

---
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly

Federico Sevilla III (Network Administrator)

THE LEATHER COLLECTION, INC.
#15 Don Mariano Lim Industrial Complex, Alabang-Zapote Road
beside Toyota - Alabang, Las Pinas City 1740 PHILIPPINES

Ofc: +63.2.842.2261                     Fax: +63.2.842.2204
Apt: +63.2.523.8251 to 64 (loc 601)     Cel: +63.919.631.4446


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to