LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-26-2009, 04:37 PM   #1
fahadaziz
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 login....so how could i access the system as a root user in ubantu.....

Thanks and regards,

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

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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
Code:
sudo apt-get install package_name
If you want to switch to root, without typing your password every time, you can simply do
Code:
sudo -i
To do this your user must be listed in the /etc/sudoers file.
 
Old 05-26-2009, 04:49 PM   #3
marvinudy
Member
 
Registered: Oct 2004
Location: detroit
Distribution: Mint, Mepis, Sabayon, PCLOS, Sidux, UltimateEdition, Suse
Posts: 30

Rep: Reputation: 15
fahadaziz,

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,

marvinudy
 
  


Reply



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 08:22 PM
creating user account with root power linux_lover2005 Linux - Newbie 6 01-04-2007 12:51 AM
Creating user with root access iansoundz Linux - Newbie 6 12-12-2005 01:42 PM
creating user account similar to root neerajchaudhari Linux - Newbie 4 08-26-2005 06:35 AM
Creating user directories in Apache root robojerk Linux - Networking 1 09-21-2004 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 PM.

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