You are not logged in.
Hello, all!
I just installed Arch (yay) with gnome and one of my first tasks is adding
myUserName ALL(ALL) ALL to /etc/sudoers.
I have been trying to edit with visudo, but every time i try to save ad quit, I get a message saying /etc/sudoers is read only.
I've tried using chmod to change permissions, but without success. After skimming through chmod documentation I tried a couple of things like:
chmod -w /etc/sudoers, but none have worked so far. Ideas?
when I run
ls -l /etc/sudoers, I get:
-r--r----- 1 root root 2849 Aug 18 08:44 /etc/sudoershmmm... BTW Aug 18? What could that be about? Definitely not today's date! IS it when sudoers was written, or could I have a problem with my date and time? Nah.. prob just date file was created I'm sure... Sorry! Total newb!
Thank you all!
Offline
You need to be root (su - ) to use visudo.
Offline
su -c visudo
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline