LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-22-2008, 01:26 PM   #1
Eilya
Member
 
Registered: Aug 2008
Posts: 52

Rep: Reputation: 15
Exclamation $su, Authentication Failure


Hi Dear friends,

I want to know why I can not login in bash in condition that I can login to the Interface? I use the same username and password, so why I have Authentication Failure.

Thanks,
Eilya
 
Old 09-22-2008, 02:14 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Are you attempting to login at a login prompt, or via su as your subject implies? Only some users are allowed to su: having a password is not sufficient.
 
Old 09-22-2008, 02:31 PM   #3
Eilya
Member
 
Registered: Aug 2008
Posts: 52

Original Poster
Rep: Reputation: 15
what should I do????

I can do everything in graphical mode, but by same user pass, I can not do that, this system is single user, and I have the administrator permission I didn't have similar problem in suse distro.

Regards,
Eilya
 
Old 09-22-2008, 02:40 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
So you have a login prompt, and type in the username and password, and it doesn't work, but logging in as that user from X does work?
 
Old 09-26-2008, 05:18 PM   #5
Eilya
Member
 
Registered: Aug 2008
Posts: 52

Original Poster
Rep: Reputation: 15
Yes, I can login to interface, and using administration graphical tools, but I can not login in bash. what's the problem?
 
Old 10-02-2008, 05:48 PM   #6
Eilya
Member
 
Registered: Aug 2008
Posts: 52

Original Poster
Rep: Reputation: 15
ANy IdeA????????
 
Old 10-02-2008, 08:12 PM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
You never clarified your concerns. You cannot log into bash: bash contains NO authentication mechanisms. Are you using 'su' from a bash session to attempt to switch user to root? Are you logging in on a Virtual Terminal (console)?

Maybe you could copy/paste the exact text you see so we can see exactly what is happening.
 
Old 10-13-2008, 04:58 PM   #8
Eilya
Member
 
Registered: Aug 2008
Posts: 52

Original Poster
Rep: Reputation: 15
Dear Matir,
I login to Virtual Terminal by my user and password, then when I want to use Bash I type: $su but the same user and pass doesn't work in this part.
Regards,
Eilya
 
Old 10-13-2008, 05:38 PM   #9
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Some distributions require that you be in the wheel group in order to use su from the console. Check your local pam configuration to see if pam_wheel.so is required for suing.
 
Old 10-14-2008, 05:41 AM   #10
dopla
Member
 
Registered: Aug 2008
Location: Beacon Bay, East London, South Africa
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 16
To set the root password:
$ sudo su (if this asks for password, enter YOURS. You must be in the sudoers file by default).
$ passwd

Then later on, to log in as root (On Virtual Terminal)
username: root
password: <The One You Set As Above>

Does this help?
 
  


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
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
Password authentication failure Sallow Red Hat 1 02-29-2008 04:19 AM
I cant su anymore (authentication failure) Mr.Ampersand() Linux - Newbie 4 03-22-2005 08:29 AM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM
MNF authentication failure outburst Linux - Security 1 12-18-2003 10:53 AM


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

Main Menu
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