← Back to team overview

desktop-packages team mailing list archive

[Bug 893842] Re: Move "admin" group to "sudo"

 

As far as the new command-not-found - in a current 12.04 install still not working  with the upgrade. Tried a purge  & install, same thing, still getting the 'ask administrator ...'
(maybe all would be well of a new image that has the upgraded package?

So went ahead & edited the script simply changing the order, ie. --
lines 118-119

 try:
            self.user_can_sudo = grp.getgrnam("sudo")[2] in posix.getgroups() or grp.getgrnam("admin")[2] in posix.getgroups()

Then works as expected, attached terminal progression to show



** Attachment added: "cnf"
   https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/893842/+attachment/2670370/+files/cnf

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/893842

Title:
  Move "admin" group to "sudo"

Status in “accountsservice” package in Ubuntu:
  Fix Released
Status in “command-not-found” package in Ubuntu:
  Fix Released
Status in “jockey” package in Ubuntu:
  Fix Released
Status in “language-selector” package in Ubuntu:
  Fix Released
Status in “policykit-1” package in Ubuntu:
  Fix Released
Status in “policykit-desktop-privileges” package in Ubuntu:
  Fix Released
Status in “userconfig” package in Ubuntu:
  Fix Released
Status in “accountsservice” source package in Precise:
  Fix Released
Status in “command-not-found” source package in Precise:
  Fix Released
Status in “jockey” source package in Precise:
  Fix Released
Status in “language-selector” source package in Precise:
  Fix Released
Status in “policykit-1” source package in Precise:
  Fix Released
Status in “policykit-desktop-privileges” source package in Precise:
  Fix Released
Status in “userconfig” source package in Precise:
  Fix Released

Bug description:
  Fresh install from daily today, am unable to do many common admin actions, the 'root' password is requested
  Attached orig /etc/group

  TEST CASE:
  1. Install Ubuntu Desktop, reboot and login
  2. Click on the user indicator and select 'User Accounts'
  3. On the dialog, click on 'Unlock'

  EXPECTED RESULT
  A authentication dialog is displayed asking for the user's password

  WHAT HAPPENS
  The user is prompted for the root password

  WORKAROUND
  Open a terminal and run the following command:
  $ sudo adduser <your_user_name> admin
  logout and login

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity 2.9.4
  ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
  Uname: Linux 3.1.0-2-generic i686
  ApportVersion: 1.26-0ubuntu1
  Architecture: i386
  Date: Tue Nov 22 20:56:50 2011
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111122)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/893842/+subscriptions