Mailinglist Archive: opensuse (3964 mails)
| < Previous | Next > |
Re: [SLE] Lost Password
- From: Jerry Feldman <gaf@xxxxxxx>
- Date: Thu, 18 Nov 2004 15:12:29 -0500
- Message-id: <200411181512.30529.gaf@xxxxxxx>
On Thursday 18 November 2004 2:05 pm, Martin Mewes wrote:
> Hi,
>
> Darrell Skildum <darrell@xxxxxxxxxxx> wrote :
> > I have two systems with SuSE 9.1 installed. On one of them, the
> > password for Root seems to have been changed. I have been careful
> > not to change this. What is the easiest way to re-instate a
> > password for Root.
It is very simple.
Boot the SuSE rescue CD (or any other Linux bootable CD).
Mount the root directory of your system.
use the chroot command to temporarily set that as root.
Then change the password using the passwd command.
Here is an example:
# mount /dev/hda5 /mnt # Mount the root directory from your SuSE 9.1 system
# chroot /mnt # make that the root
# passwd root
Changing password for root.
New password:
Re-enter new password:
Password changed.
Exit chroot
umount /mnt.
Then reboot, and test the passwd.
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
> Hi,
>
> Darrell Skildum <darrell@xxxxxxxxxxx> wrote :
> > I have two systems with SuSE 9.1 installed. On one of them, the
> > password for Root seems to have been changed. I have been careful
> > not to change this. What is the easiest way to re-instate a
> > password for Root.
It is very simple.
Boot the SuSE rescue CD (or any other Linux bootable CD).
Mount the root directory of your system.
use the chroot command to temporarily set that as root.
Then change the password using the passwd command.
Here is an example:
# mount /dev/hda5 /mnt # Mount the root directory from your SuSE 9.1 system
# chroot /mnt # make that the root
# passwd root
Changing password for root.
New password:
Re-enter new password:
Password changed.
Exit chroot
umount /mnt.
Then reboot, and test the passwd.
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
| < Previous | Next > |