This is the error message I get any time I run sudo
:
ubuntu@tegra-ubuntu:/$ sudo apt-get update
sudo: unable to stat /etc/sudoers: No such file or directory
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Right now I'm trying to boot ubuntu 14.04 on jetson tx1 (nvidia's most recent development board) using an SD card. I am able to boot Ubuntu without the GUI. However the sudo
command is seriously broken.
When creating the filesystem on my sd card, I used sudo
to do it. I found lots of other posts about it and verified that
Both user and group have permission to execute
/etc/
(sudo: unable to stat /etc/sudoers: No such file or directory - File Exists)Using
pkexec visudo /etc/sudoers
gives me this error:** (process:1784): WARNING **: Error enumerating actions: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
The GRUB menu is not accessible because I don't have the GUI. Holding shift down didn't do the trick...
ls -l /usr/bin/sudo
produce?-rwsr-xr-x 1 root root 11178 Apr 1 2015 /usr/bin/sudo