Download your favorite Linux distribution at LQ ISO.
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 06-04-2011, 01:11 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
su authentication

I just started learning the Linux system and I installed Ubuntu 11.04 as a partition on my IMac. I want to change my authorization in the terminal to su - , but I keep being told authentication failure. Anyone have a way for me to get this remedied?
Old 06-04-2011, 01:17 PM   #2
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
Try typing sudo instead of su.

When I type su I get:
su: Authentication failure
or something along those line ... But when I do sudo it works.

So it would be like this (using lspci as example):
name@computer:$ sudo lspci
(sudo) password for user:
Enter your password, and you should be set. Note that when you are typing the password, no letters or asterisks (*) will show up. It will remain BLANK as you type.
You replace lspci with any other command/options you want to run as root.

Good luck!

Last edited by Hevithan; 06-04-2011 at 01:21 PM.
Old 06-04-2011, 01:26 PM   #3
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read the documentation for Ubuntu, specifically this.
Old 06-04-2011, 02:12 PM   #4
LQ Newbie
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
@ nylex thank you for that link, that answered my question fully.
Old 06-04-2011, 02:20 PM   #5
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Originally Posted by brodieman01 View Post
that answered my question fully.
Mark the thread as solved.
Old 11-01-2012, 07:39 PM   #6
LQ Newbie
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
Set root password first

You probably have not set your root password yet.
Set your password by:

sudo passwd

Then, you won't have that problem again.


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
Different authentication policies for local and remote authentication brownflamigo1 Linux - Security 3 09-16-2010 05:11 PM
Authentication service cannot retrieve authentication info joshb166 Linux - Newbie 2 08-13-2009 01:03 AM
su: Authentication service cannot retrieve authentication info. r11_kaede Linux - Newbie 3 05-17-2009 12:10 PM
Authentication service cannot retrieve authentication info - for new user yosial Linux - Newbie 2 10-28-2008 11:30 PM
Authentication service cannot retrieve authentication info Moffett67 Linux - Software 3 12-13-2007 03:16 AM

All times are GMT -5. The time now is 02:43 AM.

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