You are not logged in.
Pages: 1
So I'm trying to add a user to sudoers. I have sudo installed. I enter visud, then hit tab, it autocorrects to visudo, and I press enter. A new line starts. Nothing happens. Am I doing something wrong?
Offline
Can we see
type visudoAre you attempting to run the command as root?
Jin, Jîyan, Azadî
Offline
Offline
Also, if you run visudo as regular user (not "sudo visudo", but just "visudo") it'll tell you that it cannot access /etc/sudoers and leave you at a new prompt.
Offline
Can we see
type visudoAre you attempting to run the command as root?
I ran it both as root and as a normal user. Nothing works.
And
type visudo outputs
visudo is /usr/bin/visudo Offline
Do you have vi or vim installed?
What's the output of...
echo $EDITOR
It leaves me at a new line, and I do have vim installed.
Offline
sudo env EDITOR=vim visudoOffline
Pages: 1