I had a system crash and now my Ubuntu runs into low-graphics mode. All the fixes require running commands with sudo
. When I try this I get sudo: command not found
. When I try logging in with su -
I get an error: Authentication failed
. I also tried sudo -i
but that did nothing. I am really stuck here. What can I do?
Relevant info:
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
$ ls -l /usr/bin/sudo
-rwsr-xr-x 1 root root 121144 Feb 28 2013 /usr/bin/sudo
-a sudo output : -bash: -a command not found
which - a sudo output:
/usr/bin/sudo echo foo output: Permission denied
/usr/bin/sudo YOUR_COMMAND
.