You are not logged in.

#1 2007-08-20 03:21:44

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

[solved] [help] set environmental variable in "sudo"

hi,

I want to use "aurbuild" by "sudo",
but "aurbuild" responses:

[bsdson@bsdson ~]$ sudo aurbuild -s aaa
Password:
Editor environmental variable not set. Using nano...
Error: editor value "nano" not found on system.
[bsdson@bsdson ~]$

I don't want to install "nano" and have tried to add

export EDITOR=vim

in both root's .bashrc and .bash_profile with no help.

Anyone knows how to solve this problem?
Thanks for your help and sorry for my poor English.
bsdson.tw

EDIT: Thank you very much!!

Last edited by bsdson.tw (2007-08-21 05:49:03)

Offline

#2 2007-08-20 11:17:12

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [solved] [help] set environmental variable in "sudo"

Offline

Board footer

Powered by FluxBB