sudo thinks my root password is wrong:
Code:
drigz@ayro:~$ head -n 1 /etc/shadow
head: cannot open `/etc/shadow' for reading: Permission denied
drigz@ayro:~$ sudo head -n 1 /etc/shadow
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 2 incorrect password attempts
drigz@ayro:~$ su
Password:
root@ayro:/home/drigz# head -n 1 /etc/shadow
root:$1$TfSYIi2Q$b4T4v/NNATwGDh667Na4O/:12589:0:::::
root@ayro:/home/drigz# sudo head -n 1 /etc/shadow
root:$1$TfSYIi2Q$b4T4v/NNATwGDh667Na4O/:12589:0:::::
I'm getting the password right, so don't ask that
This is a problem because if I want to change do stuff from gnome system monitor, i have to open a console, su, then run gnome-system-monitor. adn this means there is a terminal open. why is this?
EDIT: I chose head -n 1 /etc/shadow as it was the first thing I though of that you can't do as anyone but root. Crack my root password if you really want.