Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Update Manager GUI is requesting ROOT password.

  1. #11
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Update Manager GUI is requesting ROOT password.

    Please post the groups you are a member of:
    Code:
    id
    And the content of polikt and sudo config files:
    Code:
    sudo cat /etc/sudoers
    cat /etc/polkit-1/localauthority.conf.d/*

  2. #12
    Join Date
    Sep 2007
    Beans
    52

    Re: Update Manager GUI is requesting ROOT password.

    Sorry for delay in replying... I have been doing all by command line then realised this was still an issue...

    Here are outputs requested.
    Code:
    uid=1000(bob) gid=1000(bob) groups=1000(bob),4(adm),33(www-data)
    Code:
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # Please consider adding local content in /etc/sudoers.d/ instead of
    # directly modifying this file.
    #
    # See the man page for details on how to write a sudoers file.
    #
    Defaults	env_reset
    Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    
    # Host alias specification
    
    # User alias specification
    
    # Cmnd alias specification
    
    # User privilege specification
    root	ALL=(ALL:ALL) ALL
    
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL
    
    # Allow members of group sudo to execute any command
    %sudo	ALL=(ALL:ALL) ALL
    
    # See sudoers(5) for more information on "#include" directives:
    
    #includedir /etc/sudoers.d
    bob ALL=(ALL) ALL
    Code:
    martyn@Aspire-5551:~$ cat /etc/polkit-1/localauthority.conf.d/*
    # Configuration file for the PolicyKit Local Authority.
    #
    # DO NOT EDIT THIS FILE, it will be overwritten on update.
    #
    # See the pklocalauthority(8) man page for more information
    # about configuring the Local Authority.
    #
    
    [Configuration]
    AdminIdentities=unix-user:0
    [Configuration]
    AdminIdentities=unix-group:sudo;unix-group:admin
    Noticed that the final output mentions unix-group:admin whereas my id states I am in the group adm but not admin. Is this relevant?

  3. #13
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Update Manager GUI is requesting ROOT password.

    Quote Originally Posted by Martyn Thompson View Post
    Sorry for delay in replying... I have been doing all by command line then realised this was still an issue...

    Here are outputs requested.
    Code:
    uid=1000(bob) gid=1000(bob) groups=1000(bob),4(adm),33(www-data)
    Code:
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # Please consider adding local content in /etc/sudoers.d/ instead of
    # directly modifying this file.
    #
    # See the man page for details on how to write a sudoers file.
    #
    Defaults	env_reset
    Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    
    # Host alias specification
    
    # User alias specification
    
    # Cmnd alias specification
    
    # User privilege specification
    root	ALL=(ALL:ALL) ALL
    
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL
    
    # Allow members of group sudo to execute any command
    %sudo	ALL=(ALL:ALL) ALL
    
    # See sudoers(5) for more information on "#include" directives:
    
    #includedir /etc/sudoers.d
    bob ALL=(ALL) ALL
    Code:
    martyn@Aspire-5551:~$ cat /etc/polkit-1/localauthority.conf.d/*
    # Configuration file for the PolicyKit Local Authority.
    #
    # DO NOT EDIT THIS FILE, it will be overwritten on update.
    #
    # See the pklocalauthority(8) man page for more information
    # about configuring the Local Authority.
    #
    
    [Configuration]
    AdminIdentities=unix-user:0
    [Configuration]
    AdminIdentities=unix-group:sudo;unix-group:admin
    Noticed that the final output mentions unix-group:admin whereas my id states I am in the group adm but not admin. Is this relevant?
    Yep. It seams that you somehow removed your user from the admin and sudo groups, then manually edited the sudoers file in order to regain full sudo rights. But to use polkit to authenticate yourself as an admin with your user's password you need to be a member of the admin or sudo group:
    Code:
    sudo gpasswd -a bob admin
    or
    Code:
    sudo gpasswd -a bob sudo
    Last edited by sisco311; November 5th, 2012 at 11:42 PM.

  4. #14
    Join Date
    Sep 2007
    Beans
    52

    Re: Update Manager GUI is requesting ROOT password.

    Code:
    sudo gpasswd -a bob sudo
    That second command worked perfectly thank you. The first command (admin) replied with an error saying:

    Code:
    gpasswd: group 'admin' does not exist in /etc/group
    Thanks for the support- I will add a 'solved' to the heading.

    Best wishes all.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •