LinuxQuestions.org
Visit Jeremy's Blog.
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 06-10-2010, 02:37 AM   #1
semsaudade
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Authentication failed in Ubuntu Software Center


Hi to everybody. I apologize first because I do not know if this is the right section for my problem, but I could not find anything more suitable.

I have an Asus 900 with Ubuntu Netbook Remix 10:04 In a nutshell: I realized today, trying to install a new program with Ubuntu Software Center, that I can not anymore authenticate myself as root. Of course I have not changed the password, but the old one is not anymore accepted ("Authentication failed").

The interesting thing is that I can install programs without problems (using the same old password) with the package manager in Administrative Tools (synaptic). Here, the authentication works well.


Opening a terminal, I can use sudo to run any command by providing my password, with no problem at all. Following some guides found on the web, I reset the root password (supplying the same one as before) and everything went well. Only .... nothing has changed! Ubuntu center software authentication always fails.

What could have happened? Maybe I did some mistake by editing /etc/sudoers to solve another problem some days ago. Ubuntu told me that my username was not in the sudoers file, so I resolved it by adding to /etc/sudoers the line
myusername ALL = (ALL) ALL

I checked the contents of the file and, apart from this line added, it is as it was before (I compared with that on another PC with Ubuntu).

Can anyone make some sense out of it? Starting from the fact that the package manager does function ... but software center does not... I am puzzled!

Thanks in advance for your patience and kindness!
 
Old 06-10-2010, 11:00 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by semsaudade View Post
I realized today, trying to install a new program with Ubuntu Software Center, that I can not anymore authenticate myself as root.
So did you enable the root account in Ubuntu, even though this is explicitly not recommended in Ubuntu?? If so, and if you have been running the system as root, then this is likely part of your problem.
Have you been running the system as root?
Quote:
Originally Posted by semsaudade View Post
What could have happened? Maybe I did some mistake by editing /etc/sudoers to solve another problem some days ago. Ubuntu told me that my username was not in the sudoers file, so I resolved it by adding to /etc/sudoers the line
myusername ALL = (ALL) ALL
Well, this is a possibility also.
In the future, please forget about enabling the root account in Ubuntu. There is no need to do that. I have been using Ubuntu for 5 years, and I have never found it necessary or beneficial in any way to enable the root account.
Use sudo from now on. See this if you can no longer use sudo:
http://www.psychocats.net/ubuntu/fixsudo

Last edited by tommcd; 06-10-2010 at 11:03 AM.
 
Old 06-11-2010, 12:08 AM   #3
semsaudade
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Solved!

Solved! The solution was resetting root's password, booting in recovery mode. I simply re-entered my previous superuser password, which was (I don't know why and how) deleted. Now everything is ok.

Thank you very much for helping!
 
  


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
Why is my Ubuntu Software Center not opening? Peeboaiy Ubuntu 4 06-30-2010 06:11 AM
[SOLVED] Ubuntu Software Center installing issues blither Ubuntu 2 05-19-2010 06:53 PM
Ubuntu Software Center does not work properly jgabase Linux - Newbie 3 04-11-2010 03:19 AM
LXer: The Future Of Ubuntu Software Center LXer Syndicated Linux News 0 12-15-2009 06:00 PM
Software Center does not work properly in UBUNTU 9.10 alamgir Linux - Newbie 2 11-01-2009 03:51 PM


All times are GMT -5. The time now is 12:54 AM.

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