[fedora] Groups

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Sep 16 12:45:41 UTC 2004


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040916/6deccf8c/attachment-0002.bin 


More information about the users mailing list