Am 12.09.2009 um 17:28 schrieb Yguaratã C. Cavalcanti:

> I would like to guess when
> a variable was defined from a system configuration file, like /etc/ 
> profile,
> or if it was defined by a user configuration file, such as ~/profile.

One possible way is to simply remove those user configuration files.  
Another one is to grep through the existing files, as variables are  
usually set using their name directly. Third option is to try the  
various switches available with bash to exclude some of the  
configuration files. A new/virgin user account might be useful for  
all the options.

> Using this GUI, the user could define its own
> variables and the system variables (since it has root access, of  
> course)

Typical GUI users don't even know environment variables exist ...


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/





-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to