The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 06:20 AM
global variable in awk anhtt Shell Programming and Scripting 1 03-16-2008 03:55 PM
Global Variable in awk... ZINGARO Shell Programming and Scripting 1 07-04-2007 01:07 PM
Managing Users in a Global Environment Randal UNIX for Advanced & Expert Users 0 02-15-2007 03:14 PM
setting global variable for all users champion UNIX for Dummies Questions & Answers 4 08-15-2002 12:59 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-11-2006
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
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
  #2 (permalink)  
Old 05-11-2006
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
Environments are local, per user, not global.
  #3 (permalink)  
Old 05-11-2006
bdsffl bdsffl is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 28
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 (permalink)  
Old 05-11-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
And setting those variables readonly makes them changeproof by the user.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0