Installing

Login

Update

Configuring

How To

User Features

Security Issues

Documentation bullet Change Root Password

Documentation.ChangeRootPassword History

Hide minor edits - Show changes to markup

April 26, 2010, at 12:04 PM by cristina -
Deleted line 12:

April 26, 2010, at 12:03 PM by cristina -
Changed lines 1-30 from:

(:delete:)

to:

(:title Change Root Password:)

If you had the “luck” to forget the password, follow the steps below:

  • Start /restart the OS.
  • Immediately after loading the GRUB bootloader, press ESC.
  • If the “linux” entry is highlighted press “e” for editing the kernel line before booting.
  • Press “e” to edit the kernel line.
  • Type on the command line: init=/bin/bash
  • Press “b” for booting.
  • After restarting, type cat /proc/mounts to verify the rights for editing the system's files; you will be given this info:

(:table style="border : 1px solid #0599E0; cellpadding : left; padding-right: 2px; margin-left : 25px " :) (:cellnr:) (:cell:) rootfs / rootfs rw 0 0 (:cellnr:) (:cell:) /dev/root / ext3 rw,noatime,errors=continue,commit=5,data=ordered 0 0 (:tableend:)

  • Type mount -o rw, remount/ if you have no editing rights for root.
  • Type passwd and write the new password.
  • Type sync to ensure file system integrity.
  • Type reboot.

Note: The steps for the LILO bootloader are a little bit different.

HowTo

April 26, 2010, at 12:02 PM by cristina -
Added line 1:

(:delete:)

April 26, 2010, at 12:01 PM by cristina -
Deleted lines 0-29:

(:title Change Root Password:)

If you had the “luck” to forget the password, follow the steps below:

  • Start /restart the OS.
  • Immediately after loading the GRUB bootloader, press ESC.
  • If the “linux” entry is highlighted press “e” for editing the kernel line before booting.
  • Press “e” to edit the kernel line.
  • Type on the command line: init=/bin/bash
  • Press “b” for booting.
  • After restarting, type cat /proc/mounts to verify the rights for editing the system's files; you will be given this info:

(:table style="border : 1px solid #0599E0; cellpadding : left; padding-right: 2px; margin-left : 25px " :) (:cellnr:) (:cell:) rootfs / rootfs rw 0 0 (:cellnr:) (:cell:) /dev/root / ext3 rw,noatime,errors=continue,commit=5,data=ordered 0 0 (:tableend:)

  • Type mount -o rw, remount/ if you have no editing rights for root.
  • Type passwd and write the new password.
  • Type sync to ensure file system integrity.
  • Type reboot.

Note: The steps for the LILO bootloader are a little bit different.

HowTo

April 26, 2010, at 11:37 AM by 192.168.168.117 -
Deleted lines 0-1:

(:order_number: 4:)

April 26, 2010, at 11:35 AM by 192.168.168.117 -
Changed line 32 from:
to:
April 26, 2010, at 11:33 AM by 192.168.168.117 -
Added lines 2-4:

(:title Change Root Password:)

April 22, 2010, at 06:24 PM by cristina -
Changed lines 6-7 from:
  • If the “linux” entry is highlighted press “e” for editing the kernel before booting.
  • Press “e” to edit init.
to:
  • If the “linux” entry is highlighted press “e” for editing the kernel line before booting.
  • Press “e” to edit the kernel line.
April 22, 2010, at 06:01 PM by cristina -
Changed line 29 from:
to:
April 22, 2010, at 05:59 PM by cristina -
Added lines 1-29:

(:order_number: 4:) If you had the “luck” to forget the password, follow the steps below:

  • Start /restart the OS.
  • Immediately after loading the GRUB bootloader, press ESC.
  • If the “linux” entry is highlighted press “e” for editing the kernel before booting.
  • Press “e” to edit init.
  • Type on the command line: init=/bin/bash
  • Press “b” for booting.
  • After restarting, type cat /proc/mounts to verify the rights for editing the system's files; you will be given this info:

(:table style="border : 1px solid #0599E0; cellpadding : left; padding-right: 2px; margin-left : 25px " :) (:cellnr:) (:cell:) rootfs / rootfs rw 0 0 (:cellnr:) (:cell:) /dev/root / ext3 rw,noatime,errors=continue,commit=5,data=ordered 0 0 (:tableend:)

  • Type mount -o rw, remount/ if you have no editing rights for root.
  • Type passwd and write the new password.
  • Type sync to ensure file system integrity.
  • Type reboot.

Note: The steps for the LILO bootloader are a little bit different.

Documentation