LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-16-2010, 12:59 PM   #1
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Rep: Reputation: 15
Any way to log as root in Ubuntu


I am new to ubuntu.In the installation I had given a user name and pass word.Now I can log as a other user but not as a root.I want to log as root.Is there any way to log as root.
 
Old 02-16-2010, 01:03 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Without enabling the root account: sudo su

Otherwise enable the root account.

Regards,

Alunduil
 
1 members found this post helpful.
Old 02-16-2010, 01:05 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Don't login as root, use
su, sudo, gksudo
 
1 members found this post helpful.
Old 02-16-2010, 01:09 PM   #4
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware, Salix
Posts: 237

Rep: Reputation: 59
(Hint for future questions: google ubuntu root password)

Found a simple fix here. Also interesting discussion of 'sudo su' vs 'sudo passwd'
 
1 members found this post helpful.
Old 02-16-2010, 01:09 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
Originally Posted by sanjayagayan View Post
I am new to ubuntu.In the installation I had given a user name and pass word.Now I can log as a other user but not as a root.I want to log as root.Is there any way to log as root.
Hi,

maybe this helps:
https://help.ubuntu.com/community/RootSudo

Haven't tried it since I did not need to login as root.
 
1 members found this post helpful.
Old 02-16-2010, 01:14 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
I assume that this is old news after all of the above:
sudo passwd root
##at the prompt enter your user password
##then at a new prompt, enter the new root password


Note that your admin utilities will still ask you for your primary USER password and not the ROOT password. This to me creates too much confusion.

The BEST way to solve the Ubuntu no-root-user nonsense is to not use Ubuntu. (but that's another story........)
 
1 members found this post helpful.
  


Reply

Tags
password, root, ubuntu


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
How Can I "log in" as root in Ubuntu 9.10?? msbstar Linux - Newbie 1 01-19-2010 03:45 PM
Can't log into Ubuntu as root fazeel Linux - Newbie 5 09-09-2009 04:46 AM
Ubuntu - Log On to Root ? nikeody Ubuntu 15 07-13-2007 01:17 AM
Allow Root to log in in ubuntu hallows1 Linux - General 8 04-04-2007 04:51 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM


All times are GMT -5. The time now is 11:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration