All Things Linux
Search:     Advanced search
Browse by category:

Reset root password when you have lost it

Views: 2156
Votes: 1
Posted: 14 Jan, 2009
by: Admin A.
Updated: 14 Jan, 2009
by: Admin A.
The following instructions explain how to reset the root password on all versions of Suse Linux when you have forgotten or misplaced it.

  1. Reboot computer.

  2. At the menu that shows the selections to choose from, leave it on the desired choice, but type in init=/bin/bash at the options line and press enter.

  3. At the commandline type in mount -o remount,rw / and press enter.

  4. Next type in passwd root and press enter and enter a new root password.

  5.  Now type sync and press enter to sync the filesystem with the cache.

  6. Next type in init 6 and press enter to reboot your system.

Others in this Category
document How to kill a user on the system and all processes started by that user
document How To Setup Database Replication in MySQL
document Recovering data off of a machine that will no longer boot into Windows
document Need a remote desktop connection to a linux server or workstation from your windows pc?
document What is taking up all that space on the harddrive?
document Recover corrupt data from an ext2/ext3 partition
document Losing/gaining time on the Linux desktop
document Create a trusted connection via openssh between two servers/clients
document After updating kernel, dual-monitors on nvidia graphics card no longer work.
document Finding out what all those acronyms mean
document Using ssh to mount a remote filesystem
document Install Suse products without using a boot cdrom
document Compiling the linux kernel on Suse products
document Resize the root partition on SLES10, SLED10, openSUSE 10.2/10.3
document Install or Update Vmware on Linux
document Running two or more versions of Linux at once
document Configuring MS Optical Mouse on Linux
document Setting Default Browser to Firefox in KDE
document Reset the mysql root password
document Configure packman as additional install source
document Mounting Portable Devices on Linux
document Optimizing Linux
document Speed up Internet Access on Suse Pro/openSuse
document Giving a Normal User access to Root
document Fix for Adobe Reader and/or OpenOffice on Dual Monitors
document CD/DVD will not eject
document Display the service that is using a particular port.
document Connect to your SLES10/SLED10 box via gui session from Windows XP or Vista
document Commandline SSH client for Windows
document Set Default User for SSH
document Generate passwords hash value using md5sum on linux
document df -h and du -h display different available disk space on linux
document Setting Ulimits on SLES and openSUSE
document Configure max_sectors_kb globally for SAN devices.