Linked Questions

26
votes
6answers
118k views

How can I fix broken sudo - sudo: parse error in /etc/sudoers near line 23? [duplicate]

I am getting this error: sudo: parse error in /etc/sudoers near line 23 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin I was trying to disable password ...
12
votes
3answers
2k views

How to rename sudoers back to its original naming? [duplicate]

Today I made a big mistake, I run the command mv /etc/sudoers{,.bak} on my ubuntu machine and now sudoers file is missing This is the message given in terminal wherever I use sudo sudo: unable ...
10
votes
5answers
65k views

Sudo doesn't work [duplicate]

I edited my sudoers file in /etc and after that I can't use sudo anymore. I get this whenever I issue the command: sudo: >>> /etc/sudoers: syntax error near line 30 <<< sudo: parse ...
3
votes
1answer
20k views

sudo: can't open /etc/sudoers: Permission denied [duplicate]

sudo from a standard user works fine, but when I try to use it from root it returns this error: sudo: can't open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting /etc/...
1
vote
3answers
3k views

How to Factory Reset Ubuntu 17.10 [duplicate]

I would like to know how to reset Ubuntu to default and if it resets my terminal. I tried to put in a command to make it if I messed up my password it would tell me something sassy. I did that in ...
2
votes
0answers
4k views

“no valid sudoers sources found, quitting” error, how to fix it? [duplicate]

Possible Duplicate: How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again at the time of running sudo command i got the following error: "sudo: can'...
-2
votes
1answer
2k views

(Editing a file in the etc repertory ) Cannot edit /etc/sudoers file [duplicate]

I want nopasswd thing for my jenkins user. For that, I have to edit the /etc/sudoers file, But luvpreet@DHARI-Inspiron-3542:/$ sudo vi /etc/sudoers This gives me that this file is readonly and so, ...
0
votes
1answer
2k views

Messed up visudo - can't edit the file anymore [duplicate]

Possible Duplicate: How to modify a invalid /etc/sudoers file? It throws error and not allowing to edit again I really did some very stupid stuff. I did a sudo visudo and wanted to add the ...
0
votes
1answer
400 views

sudoers issue, worth format? [duplicate]

Possible Duplicate: How to modify a invalid /etc/sudoers file? It throws out anderror and not allowing me to edit again Hi guys I have meerkat and I must have messed sudoers. This is my situation ...
0
votes
1answer
156 views

Changing visudo caused a problem with sudo [duplicate]

I added something in visudo and now when I want to run sudo it gives me the following error: Sorry, user reza is not allowed to execute '/bin/su' as root. What should I do?
0
votes
0answers
48 views

sudo: /etc/sudoers is world writable no valid sudoers sources found, quitting [duplicate]

I was trying to install Stickynotes in ubuntu then i have this problem, how can i solve this problem ? me:~$ sudo add-pt-repository ppa:umang/indivator-stickynotes sudo: /etc/sudoers is world ...
0
votes
0answers
30 views

How can I fix broken sudo - sudo: parse error in /etc/sudoers near line 1 [duplicate]

I am a newbie to Ubuntu I tried to get rid off from asking password every time so I changed some line in sudoers file now I am stuck. How can I solve this?
0
votes
0answers
28 views

I modified sudoers. All users can not use sudo now. How should I fix this? [duplicate]

I was trying to save times to type password for sudo because one of my scripts had to be randomly repeated quite often. I googled some information about how to bypass typing password and applied to ...
2
votes
0answers
19 views

sudo: no valid sudoers sources found, quitting [duplicate]

I cannot use sudo. When I type sudo -i in the terminal to switch to the root user, the following error is displayed: sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, ...
0
votes
0answers
16 views

Changed pam.d - cannot su and sudo [duplicate]

I changed files in /etc/pam.d (sudo and common-auth), now I can't use sudo. $ sudo -i sudo: policy plugin failed session initialization *** Error in `sudo': double free or corruption (!prev): ...

15 30 50 per page