Fails to authenticate critical Administation tools like Networking, Services, etc

Bug #5100 reported by mohan
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

'Some' of the Administrative tools like Networking and Services.. report a "Password is Invalid -Check that you typed it correctly and that you haven't activated the "caps lock" key". The entire list of tools having this problem is

NOT Working List: (System -> Administration)
----------------
Disks
Networking
Services
Shared Folders
Time and Date
Users and Groups

But I know for sure that the password is correct as the following applications work fine (even without asking for the password, once I have tried and failed with the above mentioned list of apps)

Working List: (System -> Administration)
------------
Add Applications
Boot up Manager (installed later through apt)
Device Manager
Language selector
Login screen setup
Printing
Synaptic
Update manager

The error repeats even when the commands (network-admin..etc) are given from the command line. And this seems not only a problem of sudo. This occurs even if the command is issued as root (sudo su or su, after root is enabled with passwd -u root)

I am not sure on how to reproduce this bug as on some other installations of breezy that I have done, this bug does not exist.

Found thru forums that several others have also experienced this. A nasty bug that should be fixed asap as it damps first user experience. (Lucky for me that I set the network and Time coordinate settings during install).

Not using any special hardware/kernel.

Zak B. Elep (zakame)
Changed in sudo:
status: Unconfirmed → Needs Info
Revision history for this message
Zak B. Elep (zakame) wrote :

Hi mohan!

How did you install your Ubuntu? Did you use the other install methods (like expert or server)?

I had a similar experience of this bug when I did an expert install first, then installing the rest of ubuntu-desktop, only to find that the above parts of System -> Administration doesn't work. Unfortunately, I do not remember the workaround for this anymore :( so I will try to recreate this setup...

Cheers,

Zakame

Revision history for this message
mohan (kaveraj) wrote :

Hi Zakame,

I 'think' that the bug may be associated with the 'Configure a multi-seat system' option during expert install. AFAIK normal (non-expert) installs have not had this problem. And I did an expert install on the same machine which had the problem before, but skipped the 'Configure multi-seat system' option. I did not skip any other step. Now all the admin tools work fine.

May be it is some mis-configuration I did with the 'multi-seat' option during earlier (I can't remember) or there is a real bug. Anyway, kindly review the 'multi-seat' option.

Thanks
Mohan

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Mohan wrote:
> The entire list of tools having this problem is:
>
> NOT Working List: (System -> Administration)
> ----------------
> Disks
> Networking
> Services
> Shared Folders
> Time and Date
> Users and Groups

All these tools belong to one package - gnome-system-tools and this package still uses gksudo in menu launcher (desktop file), e.g. "Exec=gksudo network-admin" instead of gksu :(
(for more info about why administrative tools should use gksu instead of gksudo look at bug #30057 in launchpad)
Maybe this could couse your problem ?

Revision history for this message
Leonty (leonty) wrote : no rights in /etc/sudoers ?

I installed the system with "multi-seat" and "expert" options and had the same problems. The workaround was adding a line to /etc/sudoers like "user ALL=(ALL)ALL". That has let me avoid entering password at all.
I guess the problem is just in lack of rights for usual users to run sudo...

Revision history for this message
Kevin Lamontagne (kevinlamontagne) wrote :

Already had this problem. You need to add your user to /etc/sudoers file. as said above. IMHO it's safe to add a line "%admin ALL=(ALL) ALL" for the users of the "admin" group to have sudo privileges. I suggest that this line be in the file by default.

Revision history for this message
Kevin Lamontagne (kevinlamontagne) wrote :

Problem is identified. Suggestion for adding a line permanently to sudoers file.

Changed in sudo:
status: Needs Info → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Kevin,

the line

  %admin ALL=(ALL) ALL

*is* in the default suders. Any idea how it disappeared from your system?

Changed in sudo:
status: Confirmed → Needs Info
Revision history for this message
Victor Sergienko (singalen) wrote :

I have that line in sudoers.
Maybe it's somewhat different case. I changed root password with "passwd" and now all Administration section doesn't accept it.
My system is installed by default.
Though, the installation didn't offer to set root password, maybe this is the reason.

This bug occured to me in 5.05 and 6.06.

Revision history for this message
Martin Pitt (pitti) wrote :

Victor, the Ubuntu Desktop administration tools are specifically designed to use sudo instead of su, i. e. authenticate with the user's password and ignore the root user completely. Thus this is by design and not a bug.

Revision history for this message
Martin Pitt (pitti) wrote :

In any case this is not a sudo bug. If the %admin ALL line was not added by default, since you did an expert install and added a root user, then I think this is just the sort of bug you have to expect when you specifically deviate from the default authentication system.

Changed in sudo:
status: Needs Info → Rejected
Revision history for this message
Kevin Lamontagne (kevinlamontagne) wrote : Behavior corrected in dapper Re: Fails to authenticate critical ...

Breezy : Victor's comment deviated from the original "bug" a bit. I'd say that the sudo confusion stems from the lack of clear message by the gui tools about not being an sudoer. The gksudo just asked for a password but no password was ever going to work anyway, which is a little pointless.

Dapper : The admin tools seems to have be removed from non-admin's system menu in dapper. gksudo also tells clearly (somewhat) that the user is not a sudoer, but only after the password prompt.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.