visudo edits the sudoers file in a safe fashion

learn more… | top users | synonyms

2
votes
1answer
413 views

Is there a GUI to `visudo`?

Quite simply, is there a GUI to visudo I can recommend to other users, and use for myself? I have to set up a system where over 50 users have different sudo privileges and I need to juggle them all.
1
vote
1answer
771 views

visudo: specified editor (./sudo_editor) doesn't exist

I tried to run the "sudo EDITOR=./sudo_editor visudo -f /etc/sudoers.d/relax_requirements" command and the error came out as: visudo: specified editor (./sudo_editor) doesn't exist Anyone know what ...
0
votes
1answer
366 views

Allow nopasswd sudo for specific user

I am trying to set the scp as a specific user with NOPASSWD. alice ALL = (bob:ALL) NOPASSWD: /usr/bin/scp As I did understand from this question. However when I save using my visudo I still can't ...
0
votes
1answer
67 views

Visudo not working for specified files

I am trying to give sudo ability without the need of passwords to specific files. So far I have: employee ALL=(ALL:ALL) NOPASSWD: /home/file_name The file has a simple chmod command, in the bash ...
3
votes
0answers
254 views

Reset sudoers file

I want to add a new user to run all commands without a password, so I went to edit /etc/sudoers (using visudo of course) by adding the line myuser ALL=NOPASSWD: ALL. Everything is OK, but 15 minutes ...
1
vote
0answers
66 views

user in sudo group can't run sudo

I've seen other similar questions but they don't solve my problem unfortunately. I've been added to the sudo group on my Ubuntu 14.04 with usermod -aG sudo testuser but I still can't run sudo: :...
1
vote
0answers
59 views

timestamp_timeout in Ubuntu doesn't work

I use ubuntu 14.04 and I tried to change sudo password timeout but change made to it doesn't work. Please help , My visudo file looks like this. GNU nano 2.2.6 File: /etc/sudoers....
1
vote
0answers
6k views

Sorry, user is not allowed to execute X as root on lt

Whenever I try to run a command from the termainal as sudo, I am now getting the error: Sorry, user {user} is not allowed to execute {command} as root on lt. lt is the name of my computer. The only ...
1
vote
0answers
154 views

Lost visudo - I seem to have lost visudo, to my great surprise

Lost visudo I seem to have lost visudo, to my great surprise. I'm trying to add to /etc/sudoers or /etc/sudoers.d but when I try and run visudo as root I get this sudo: visudo: command not found ...
0
votes
0answers
11 views

xUbuntu visudo malfunction ldap tutorial

I'm trying to make some simple modifications to my sudo file. I execute the following command in my terminal: sudo visudo What happens next is my terminal taking a very prolonged break where there ...
0
votes
0answers
112 views

sudo -u not working

on my vps apparently sudo -u is not working correctly I want the Web server (www-data) to run a script as user teeworlds and in the context of this user the script output www-data@minecraft:~$ sudo ...