--- Huy Ton That <[EMAIL PROTECTED]> wrote:

> under my home directory for root under .profile I
> added the line:
> 
> EDITOR=pico;    export EDITOR
> 
> where no such line existed for EDITOR before; this
> line exists in my
> personal account that I use and my default for
> external launched editors is
> now pico such that I can edit crontab stuff easily. 
> However, when I ssh in
> and then su, I try to run crontab only to find it is
> still booting into 'vi'
> by default.  Any ideas how I can get this loaded?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 

yeah, I'm not sure what the switch is for su I think
its -w check man, but you have to load your profile
for root which is a switch to su. by default it uses
the profile of the user running su. the switch loads
the profile for the user your su'ing to.

-brian

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to