[sudo-users] sudo crontab
ilchuk at wrlc.org
Thu Mar 6 14:30:50 EST 2008
I'm telnet from home using our VPN, and I export TERM=vt100, EDITOR=vi
VISUAL=vi, from the .profile in my home dir.
The setting Todd recommended for the sudoers file works fine, but I was
wondering why it wasn't defaulting to my editor, or root's editor, which
is vi. Here's part of my .profile
export PATH MANPATH EDITOR VISUAL
#PS1='$NAME: $PWD $ '
PS1='METALIB-jmi # '
export PS1 SHELL TERM
set -o emacs
I set emacs so I can use the arrow keys to recall commands instead of
the ksh esc-k
Where is the system default editor set? I didn't see it in any of the
files in /etc/default/
Faisal Azfar wrote:
> Did you check your terminal settings in the shell that you are using
> sudo ?
> you might want to do a setenv TERM ( or export TERM) to point to the
> correct setting ( e.g vt102 ).
> - Faisal
> IBM Global Services
> 200 Laurel Ave, Room E3-2C25, Middletown, NJ 07748
> Email : fazfar at us.ibm.com
> Ph: 732-420-1794
> Pager Email: 1108173 at skytel.com
> Pager Phone: 1-800-759-8888, Pin: 1108173
> *Jeanne <ilchuk at wrlc.org>*
> Sent by: sudo-users-bounces at courtesan.com
> 03/06/2008 01:37 PM
> sudo-users at courtesan.com
> Re: [sudo-users] sudo crontab
> When I try to sudo crontab -e for root, or any other application users I
> am responsible for, I get this weird result. I'm using vi editor. What
> else should I look for ?
> jmi # sudo crontab -e sfxglb3
> The crontab file was not changed.
> jmi #
> What does this mean? Our organization has finally instituted sudo for
> all former root users, so my workday is grinding to a halt trying to
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
More information about the sudo-users