You are not logged in.
Pages: 1
Hi guys,
i'm following the arch wiki's page for skype, and i must edit the sudoers file for give permissions to user skype but when i do:
sudo visudo
The editing of file start, but when i touch a key, nothing change. Obviously i can't save or exit.. when i do ctrl c, the damn fall in EOF loop that force me to close the terminal directly.
Any idead?
Thanks, Gabriele.
#551378
Sky is the limit.
Offline
Try this
$ sudo -i
# EDITOR=nano visudoI think it is opening vi by default.
EDIT: Also in a single command (Correction)
$ sudo EDITOR=nano visudoLast edited by fatboy (2012-07-23 17:40:53)
Offline
no need for "env".
sudo EDITOR=nano visudo"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oh, i'm so noob u.u
Many thanks guys:)
#551378
Sky is the limit.
Offline
Please remember to mark the thread as solved.
Offline
Yeah, by default it opens in a text editor called vi. If you want to use it with nano, you can add "Defaults editor=/usr/bin/nano" to the very fist line and re-login. Then you can just run:
$ sudo visudoInstead of:
$ sudo EDITOR=nano visudoFor example:
Defaults editor=/usr/bin/nano
root ALL=(ALL) ALL
dspider ALL=(ALL) ALL
dspider ALL=NOPASSWD: /bin/mount, /bin/umount
dspider arch=NOPASSWD: /sbin/reboot, /sbin/poweroffI have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1