Perimission Denied sudoers
installed ubuntu for the first time and I wanted my user to be an administrator so I followed some step by step that I found were
nano / etc / sudoers. in the line that says #User privilege specification root ALL = (All: ALL) All leydi ALL = (All: ALL) All save changes and then throw me this message Error reading / etc / sudoers: permission denied if I execute visudo it shows me visudo: / etc / sudoers: Permission denied now it does not allow me to do anything, and I can not find the solution. Thank you |
|
boot a live usbstick mount your drive, if it does not auto mount it, then using root in your live os edit it back to where is was, or fix it like it needs to be.
if this is you: leydi what groups are in sudoers, wheel, or sudo, or both, either way pick one, uncomment it, add leydi to that group, done. |
N/m
|
Quote:
The command to edit sudoers is Code:
nano /etc/sudoers |
All times are GMT -5. The time now is 11:19 PM. |