Re: [fedora] Groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Do, den 16.09.2004 schrieb Kenneth Porter um 9:54:

> Cool! Works great!
> 
> Alas, if I su, EDITOR becomes undefined. But if I su -l, it's defined 
> correctly (as it's in root's .bash_profile. What do I need to do to keep 
> the variable when I don't use the -l?

Set the $EDITOR variable too for your unprivileged user, in his
$USER/.bash_profile. Because that environment stays if you run "su"
instead of "su -" or "su -l root". /etc/profile or an own file in
/etc/profile.d/ is the place to set such a variable system wide for all
users.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 14:42:35 up 17 days, 11:59, load average: 0.49, 0.22, 0.11 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux