Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed openVPN successfully but I would like to get remote desktop access with it, as is the case with openVPN in Windows. I found this GUI here http://sourceforge.net/projects/sogfl/ and installed it and everything, but I realized that it has actually messed up my /etc/sudoers file. It has added a line like this:

%sogfl: ALL=(root) NOPASSWORD : openvpn

(not sure of the exact syntax because I can't open the file right now because sudo isn't working).

Is there any way I can fix this? I noticed that /etc/group, my username is listed after sudo and admin, but not root (which is blank).

Any fixes? Thank you!

share|improve this question
add comment

1 Answer 1

You can probably restore your sudoers file by typing pkexec visudo in a shell.

share|improve this answer
    
Should I delete the line though? I still want to be able to use sogfl. –  Muhammad Khan Mar 5 '13 at 22:41
    
If that line breaks your sudoers file? You choose. –  zwets Mar 5 '13 at 22:43
    
Have you fixed the problem? Now that you have sudo visudo back, you should be able to edit sudoers in such a way that it does not break (that's what visudo is for). –  zwets Mar 6 '13 at 5:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.