![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| global variable not being set | robotball | Shell Programming and Scripting | 5 | 06-10-2008 03:20 AM |
| global variable in awk | anhtt | Shell Programming and Scripting | 1 | 03-16-2008 12:55 PM |
| Global Variable in awk... | ZINGARO | Shell Programming and Scripting | 1 | 07-04-2007 10:07 AM |
| Managing Users in a Global Environment | Randal | UNIX for Advanced & Expert Users | 0 | 02-15-2007 12:14 PM |
| setting global variable for all users | champion | UNIX for Dummies Questions & Answers | 4 | 08-14-2002 09:59 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there such thing as Global Env Variable for all users?
Hello
im using SunOS and its great , I know I can setenv global environment variable per user but my question is can I setenv global environment variable in more higher level ( maybe some kind of root user or something) so that every users will see the same value of this global env |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Environments are local, per user, not global.
|
|
#3
|
|||
|
|||
|
You should be able to set global env vars in /etc/profile if logging
in under the ksh shell or /etc/.login under the csh shell. These files are used at login prior to executing the users local environment. |
|
#4
|
|||
|
|||
|
And setting those variables readonly makes them changeproof by the user.
|
|||
| Google The UNIX and Linux Forums |