This is a discussion on Ubuntu root password within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; Hi, I installed ubuntu 7.10 in my desktop by using live cd successfully. During the installation I given the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, I installed ubuntu 7.10 in my desktop by using live cd successfully. During the installation I given the user name as ubuntu. Byusing this user rights,I cant perform root access. For example,When I try to create an user,it asks for root password. Can anyone help me?
__________________ J Suresh Kumar Google Hacks ![]() |
| Sponsored Links |
| |||
| Quote:
Pls switch to root account $ sudo su - Then sudo will prompt you for password, which will give you root-level access Thanks
__________________ A.Rajesh Khanna |
| |||
| Dear suresh Few distros like Ubuntu do not assign a root password by default and make the user a sudo-er. To execute any command as root prefix it with sudo and enter your own user account password when prompted for one. If you try to open some gnome apps (Say Synaptic), then also it asks for a password. As Ubuntu uses gksudo, this is also your user password. To get to a root shell type sudo -s and enter your own user a/c password. To set the root password, type passwd in a root shell and enter the new password for root. Hope this helps. ![]() |
| |||
| Hi There are many ways you can reset the root password.In ubuntu initially you donot have the root password set. So ,you can simply execute this command by opening the terminal: sudo passwd The shell will ask you for a new UNIX password and you get access to root with this new passwd you set. The account 'ubuntu' is actually an account for desktop user that you set during installation and usually has all the administrative previleges. But whenever you do tasks like accessing synaptic or change system settings ,you need to enter you password for 'ubuntu' account not the 'root' account. Incase you forget the root password you have options to get it reset it.You can get those options by checking other forums or just use any of the two methods mentioned below 1)first option is simple :use the ubuntu live disk and select the repair option while in grub 2)second one is without the need of any repair disk. just when grub appears. press e and then you will get some lines mentioning something like root (hda0,0) and so on. select the line strating with the keyword with kernel and add init=/bin/bash at the end of the line and also replace an option ro to rw in the same line. press enter and press b to boot you will directly get a shell prompt bypassing ulogin .so just set the password by typing passwd Now restart the system and you have the root passwd reset for you. I hope this helps you.
__________________ A.Rajesh Khanna |
| |||
| Quote:
$ sudo passwd root This will fist ask you for the logged in user's password. Later you are prompted to enter and confirm the root user's password. But as mentioned earlier, use "sudo" rather than logging in as root. Thanks ![]()
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu Linux | prasannavigneshr | Operating Systems | 7 | 02-28-2008 10:24 PM |
| How to make BSNL Dial up connection from Ubuntu | JSureshkumar | Operating Systems | 2 | 08-18-2007 04:43 AM |
| How to attach or mount a file system to the linux root directory.? | itbarota | Operating Systems | 1 | 07-26-2007 12:43 AM |
| Login remotely as root | vigneshgets | Operating Systems | 1 | 07-18-2007 05:36 AM |
| Is Money the Root of All Evil? | KHyuga | The Lounge | 0 | 02-23-2007 09:20 AM |