Linux / UNIX Tech Support Forum
This is a discussion on what is the default root password in ubuntu within the Ubuntu / Debian forums, part of the Linux Distribution category; So what is the default root password in Ubuntu Linux? I do not remember if it prompted while installing the ...
Register free or login to your account to remove all advertisements.
|
|||||||
| Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Please have a look at this:
A lost root password could be a bad day Ubuntu Linux root Password – Default Password If that fails, try these steps: How-To: Recover root password under linux with single user mode It happens sometime that you can't remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user mode. This tutorial will show how to boot Linux in single user mode when using GRUB and finally how to change root password. During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single user mode. Under such a level, you directly get a root prompt. From there, changing root password is a piece of cake. 1. Entering Runlevel 1 Some Linux distribution, such as Ubuntu for instance, offer a specific boot menu entry where it is stated "Recovery Mode" or "Single-User Mode". If this is your case, selecting this menu entry will boot your machine into single user mode, you can carry on with the next part. If not, you might want to read this part. Using GRUB, you can manually edit the proposed menu entry at boot time. To do so, when GRUB is presenting the menu list (you might need to press ESC first), follow those instructions: use the arrows to select the boot entry you want to modify. press e to edit the entry use the arrows to go to kernel line press e to edit this entry at the end of the line add the word single press ESC to go back to the parent menu press b to boot this kernel The kernel should be booting as usual (except for the graphical splash screen you might be used to), and you will finally get a root prompt (sh#). Here we are, we have gained root access to the filesystem, let's finally change the password. 2. Changing Root Password As root, changing password does not ask for your old password, therefore running the command: # passwd will prompt you for your new password and will ask you to confirm it to make sure there is no typo. That's it, you can now reboot your box and gain root access again Jaysunn Last edited by jaysunn; 9th July 2009 at 07:18 PM. |
| The Following User Says Thank You to jaysunn For This Useful Post: | ||
chimu (9th July 2009) | ||
|
||||
|
The default password is your own normal account password. Just type the following to become root user:
Code:
sudo -s
__________________
Vivek Gite |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
chimu (9th July 2009) | ||
![]() |
|
|
| Tags |
| ubuntu, ubuntu password, ubuntu root password |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu Set Default Runlevel /etc/inittab | lacloai | Linux software | 8 | 25th September 2009 12:15 PM |
| Default Broadband ADSL Router password for BSNL Dataone | sandeep23 | Computer Networking and Internet/broadband | 14 | 4th May 2009 10:40 AM |
| How to get the root password for Ubunthu Server | enochalbert | Ubuntu / Debian | 2 | 26th August 2008 09:15 PM |
| how to change root password | sandromax | Solaris/OpenSolaris | 4 | 11th October 2007 02:43 AM |
| Change root password MySQL 5 | chiku | Databases servers | 1 | 16th January 2007 08:46 PM |