electronicramblings.com

Raspberry PI Arch Linux visudo (sudoers file) edit using nano

by on Mar.30, 2014, under Electronic Projects, Raspberry Pi

Very Quick one!!!!

To be able to edit visudo using nano instead of vi, is great thing. This is not a permit fix, so you have to do it every time you need to edit visudo after a reboot.

export EDITOR=nano && sudo -E visudo
allows you to edit the sudoers file with nano.

Extra one for you…if you want to edit crontab with nano…
export EDITOR=nano
Will work for this. Same as above, it reset with a reboot.

Till next time, thanks for your time.


Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...