Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2009, 05:37 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 27

Rep: Reputation: 15
Exclamation Getting problem in creating root user in ubantu.

Hello every one...i am installing ubantu OS on my laptop and facing problem when i have to create root user to administrat the machine but whenever I try to create the root user it gives me the error that root is reserved by system and hopelessly i have to create custom user to how could i access the system as a root user in ubantu.....

Thanks and regards,

Fahad Bin Aziz
Old 05-26-2009, 05:45 PM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
You cannot create the root user, because it is already there. The issue is that you cannot login as root in Ubuntu. To perform administrative tasks you have to use sudo and give your user password when prompted. For example, if you want to install a package using apt-get from command line, do
sudo apt-get install package_name
If you want to switch to root, without typing your password every time, you can simply do
sudo -i
To do this your user must be listed in the /etc/sudoers file.
Old 05-26-2009, 05:49 PM   #3
Registered: Oct 2004
Location: detroit
Distribution: Mint, Mepis, Sabayon, PCLOS, Sidux, UltimateEdition, Suse
Posts: 30

Rep: Reputation: 15

I'll assume you did a 'standard' Ubuntu install and established a user account. In a console, enter the command "sudo passwd root" without the ""s. You will be asked for the 'current' user's password and then entry for the 'new' root password.

I would recommend you spend some time on the Ubuntu forums/wiki as a good source of basic help and information.

best regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating another root user centosfan Linux - General 8 07-30-2008 09:22 PM
creating user account with root power linux_lover2005 Linux - Newbie 6 01-04-2007 01:51 AM
Creating user with root access iansoundz Linux - Newbie 6 12-12-2005 02:42 PM
creating user account similar to root neerajchaudhari Linux - Newbie 4 08-26-2005 07:35 AM
Creating user directories in Apache root robojerk Linux - Networking 1 09-21-2004 01:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration