It is currently Fri, 30 Sep 2022 09:45:59 GMT

Author Message
 defining global environment variable
Hi all,

where can I define a global environment variable?

ATTENTION! I do NOT mean in /etc/profile, because this variables
are just available AFTER a login.
I want to have a variable like MACHTYPE, which is globally available,
direktly after boot.

Thanks for any help


 Mon, 10 Jan 2005 16:14:53 GMT   
 defining global environment variable
In article <>, (Thorsten Gottschalk) writes:

Anything that looks like a variable assignment that's put into
/etc/default/init will, after the next reboot, be picked up by init
and passed to its descendants.  OTOH, some descendants (login?) may well
clean out the environment of unrecognized environment variables, just
to be safe.  Finally, there's a limit on the number of variable
assignments that can be placed in /etc/default/init - I think it's 20.
(and CMASK= is a special case, that actually sets the default umask)


 Tue, 11 Jan 2005 03:35:44 GMT   
 defining global environment variable
Thanks Richard!

This was the solution!

Thorsten (Richard L. Hamilton) wrote in message <>...

 Tue, 11 Jan 2005 16:14:05 GMT   
   [ 3 post ] 

Similar Threads

1. .profile, PS1 and global environment variables

2. Global Environment Variables

3. global environment variables before 1st login

4. Setting global environment variables

5. How to set environment variable for global access?

6. Quest: how to set global environment variables?

7. Quest: how to set global environment variables?

8. global shell environment variable

9. NCSA httpd: forcing global environment variables

10. Quest: how to set global environment variables?

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software