Upgrade from Saucy to Trusty removed my user from sudoers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
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@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@klaatu:~$ sudo su -
[sudo] password for bladernr:
bladernr is not in the sudoers file. This incident will be reported.
bladernr@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)
NonfreeKernelMo
Package: sudo 1.8.9p5-1ubuntu1
PackageArchitec
ProcVersionSign
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.
modified.
apport information