I modified the /etc/sudoers
file by adding this line:
me ALL=NOPASSWD: ALL
I can now run anything in /home/me
as root without entering the password. When I reboot, however, I am not able to login as me
( both with and without activating autologin). I get this error:
could not update /home/me/.ICEauthority
Now, if I run sudo chown me:me .ICEauthority
, this lets me login once. At the next reboot, the same issue occurs. I can, however, log in through ssh
.
What's going on and how can I fix it?
sudo
: see Why should users never use normal sudo to start graphical applications? – steeldriver Mar 10 '17 at 19:53