The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2006
Registered User
 

Join Date: Aug 2005
Posts: 229
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
Reply With Quote
Forum Sponsor
  #2  
Old 05-11-2006
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Environments are local, per user, not global.
Reply With Quote
  #3  
Old 05-11-2006
Registered User
 

Join Date: Apr 2006
Posts: 26
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.
Reply With Quote
  #4  
Old 05-11-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
And setting those variables readonly makes them changeproof by the user.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0