Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password. Please help me Rakesh Deshmukh -- Don't blame me why linux is open source !!
On Sat, 2004-09-04 at 07:16 +0530, Rakesh Deshmukh wrote:
Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password.
Boot rescue system mount /dev/hda1 /mnt (replace hda1 with whatever happens to be your root partition) chroot /mnt passwd type the new password twice exit reboot
Don't blame me why linux is open source !!
What on earth is that supposed to mean?
Cool. That's a lot easier than a "non-upgrade" install I once did for the
same reason [confession: a different distribution, sounded like
man-something].
Gene
------- Forwarded message -------
From: Anders Johansson
On Sat, 2004-09-04 at 07:16 +0530, Rakesh Deshmukh wrote:
Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password.
Boot rescue system mount /dev/hda1 /mnt (replace hda1 with whatever happens to be your root partition) chroot /mnt passwd type the new password twice exit reboot
Don't blame me why linux is open source !!
What on earth is that supposed to mean?
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
On Fri, 2004-09-03 at 18:46, Rakesh Deshmukh wrote:
Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password. Please help me Rakesh Deshmukh
I didn't see any root password recovery information in the SuSE documentation, but I have the following an old Mandrake User Administration guide. 1. Reboot to init 1 LILO - type linux init 1 GRUB - hit the 'e' key twice and add init 1 to the boot command and a 'b' to boot. 2. Edit the shadow file with vi /etc/shadow Position the cursor just after 'root:' type 'dw' and then :wq 3. Type 'init 6' to reboot. 4. Boot into 'init 3' this time. 5. Type 'root' for the account and just hit <ENTER> at the "password" prompt. 6. Then type 'passwd' followed by the new password for root. Like I said, this came out of a Mandrake user guide. If anyone on the list sees an error in this, I hope they will post a correction. Barry
On Fri, 2004-09-03 at 21:17 -0700, Barry Premeaux wrote:
On Fri, 2004-09-03 at 18:46, Rakesh Deshmukh wrote:
Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password. Please help me Rakesh Deshmukh
I didn't see any root password recovery information in the SuSE documentation, but I have the following an old Mandrake User Administration guide.
1. Reboot to init 1
LILO - type linux init 1
GRUB - hit the 'e' key twice and add init 1 to the boot command and a 'b' to boot.
By default you need root's password to log in in runlevel 1/S
2. Edit the shadow file with
vi /etc/shadow
Position the cursor just after 'root:'
type 'dw' and then :wq
3. Type 'init 6' to reboot.
4. Boot into 'init 3' this time.
5. Type 'root' for the account and just hit <ENTER> at the "password" prompt.
6. Then type 'passwd' followed by the new password for root.
Why not just run "passwd" directly in runlevel 1, assuming you can log in there?
participants (4)
-
Anders Johansson
-
Barry Premeaux
-
Gene Holmerud
-
Rakesh Deshmukh