LinuxQuestions.org
Help answer threads with 0 replies.
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 04-29-2008, 08:29 AM   #1
DaftDave
Member
 
Registered: Mar 2008
Posts: 34

Rep: Reputation: 15
Really newbie question


I am trying to learn how to use the terminal and when i type in "su" i am asked for my password which i type in but then i am informed:
su: Authentication failure. So to carry on i have to type: sudo su. Is this alright? I am running Ubuntu 8.04. Thanks
 
Old 04-29-2008, 08:54 AM   #2
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15
su command is used to switch users in the terminal. From root, you can switch to any other user without a need of a password. From as standard user, you will need a password of the account you intend to switch too.

Try
Quote:
su -
then enter the root password
 
Old 04-29-2008, 09:01 AM   #3
Vampire
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by DaftDave View Post
I am trying to learn how to use the terminal and when i type in "su" i am asked for my password which i type in but then i am informed:
su: Authentication failure. So to carry on i have to type: sudo su. Is this alright? I am running Ubuntu 8.04. Thanks
root is disabled into Ubuntu maybe su is too, I think; use sudo, if you want to get more info, use
Code:
 man sudo
or
Code:
 info sudo
Did you install it on a hard or load from live cd? if you want have a full system you should install it;
By the way other Linux hasn't like problems

Last edited by Vampire; 04-29-2008 at 09:03 AM.
 
Old 04-29-2008, 09:27 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To enable the root account on Ubuntu:
sudo passwd root

If it weren't for this silly quirk, Ubuntu would be perfect...
 
Old 04-29-2008, 01:41 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
@eliufoo,
Just to clear this up:
su - and entering the root password doesn't work with (k)ubuntu. You have to use:
sudo -i
and enter your password
Then you are in a terminal as the root user.
Close the window or exit to get back to being your usual user.
 
  


Reply


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
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
Security question {newbie question} Radio Linux - Security 3 05-17-2002 06:32 PM


All times are GMT -5. The time now is 06:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration