Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Run visudo with pico' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run visudo with pico
Authored by: dfe on Feb 15, '07 01:21:17PM

Try this:
EDITOR=pico sudo visudo

You could instead export EDITOR=pico in your .bash_profile or .profile if you want to use it for all commands requiring an EDITOR. For example, crontab -e if you still use cron and not launchd.

[ Reply to This | # ]
Run visudo with pico
Authored by: gshenaut on Feb 17, '07 08:22:51AM
or for shells that don't recogize that syntax, env EDITOR=pico sudo visudo

Greg Shenaut

[ Reply to This | # ]