[Bug 1310341] Re: Upgrade from Saucy to Trusty removed my user from sudoers
Jeff Lane
jeffrey.lane at canonical.com
Sun Apr 20 18:42:03 UTC 2014
I couldn't even submit some information for this bug via apport-collect
because it requires SUDO.
WINNING
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1310341
Title:
Upgrade from Saucy to Trusty removed my user from sudoers
Status in “sudo” package in Ubuntu:
New
Bug description:
I just did a full upgrade from Saucy to Trusty.
After completing the upgrade and rebooting and logging in, I opened a
terminal an attempted to add a ppa so I could try out a calendar
indicator applet.
However, I just discovered that the upgrade destroyed my sudoers file
and my ONLY user account no longer has sudo access.
Because of this, I can't do ANYTHING on my system because I don't have
sudoers.
So my upgrade from Saucy to Trusty has, right off the bat, left me
with an unusable system I must now repair.
bladernr at klaatu:~$ sudo add-apt-repository ppa:atareao/atareao
[sudo] password for bladernr:
bladernr is not in the sudoers file. This incident will be reported.
bladernr at klaatu:~$ sudo su -
[sudo] password for bladernr:
bladernr is not in the sudoers file. This incident will be reported.
bladernr at klaatu:~$ cat /etc/sudoers
cat: /etc/sudoers: Permission denied
---
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2012-03-15 (765 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120307)
NonfreeKernelModules: nvidia
Package: sudo 1.8.9p5-1ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Sudoers: Error: command ['pkexec', '/bin/cat', '/etc/sudoers'] failed with exit code 126: Error executing command as another user: Request dismissed
Tags: trusty
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-04-20 (0 days ago)
UserGroups: adm lpadmin wireshark
VisudoCheck: Error: command ['pkexec', '/usr/sbin/visudo', '-c'] failed with exit code 126: Error executing command as another user: Request dismissed
_MarkForUpload: True
modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: u'/etc/sudoers']
modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: u'/etc/sudoers.d/README']
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1310341/+subscriptions
More information about the foundations-bugs
mailing list