MOE-LARRY&CURLY
Member
Hello those smarter than me. I was/am trying to address and fix permissions and admin stuff that I believe is affecting a lot of different things I do or try to do on my PC. I was attempting ti edit the sudoers file in visudo and after adding myself in the user priviledge section, ALL ALL ALL, and then attempting to save and exit doing the "w:" a error flag came up : visudo E45 'readonly' option is set (add ! to override) I was in root user when I went into visudo and guess I went in to edit still without the correct permissions. The other problem I am having is that I am using an Apple keyboard ( A1243-EMC NO-2171) extended keyboard with numerical pad that I have not been able to get configured right so inside text editers and such like certain buttons don't do what is hoped. In this issue, no insert button. I don't want to make my situation worse by just trial&error. I tried this I found online ":w ! sudo tee %" but my issue is pressing return or enter does not do as it should! It's all very confusing and frustrating. Here is a copy&paste of where I am. The only edit I made was under user priv. curly. Thank you.:
# Ditto for GPG agent
#Defaults:%sudo env_keep += "GPG_AGENT_INFO"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
curlystooge ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d
# Ditto for GPG agent
#Defaults:%sudo env_keep += "GPG_AGENT_INFO"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
curlystooge ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d