![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
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 07:20 AM |
| setting a global variable in script | arunkumar_mca | UNIX for Dummies Questions & Answers | 3 | 10-23-2007 08:46 AM |
| Managing Users in a Global Environment | Randal | UNIX for Advanced & Expert Users | 0 | 02-15-2007 03:14 PM |
| Is there such thing as Global Env Variable for all users? | umen | UNIX for Dummies Questions & Answers | 3 | 05-11-2006 11:35 PM |
| Global PATH setting | jxh | UNIX for Dummies Questions & Answers | 5 | 07-20-2001 06:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
setting global variable for all users
hi,
i am a newbie unix administrator. i want to set a variable, let's say : alias cls 'clear' But i am not going to add this line in the .login file for every home directory of my 500+ users. pls tell me where should i put this line in, so that all users can use this variable after login. thank you and urgent ![]() |
|
||||
|
I see you haven't heard back - and there may well (in fact probably is) a 'proper' way to do this.
however if this is urgent....it may be possible to use a simple find -exec to locate all .login or .profile files in the filesystem and append the data. Not ideal I guess, but it would work if you're root...... |
|
||||
|
Just an idea ;-)
Isnīt it posible to create a standard .profile that is stored in a central folder reachable for all users that is included in the .profile for all users? So at anytime you make changes for all users you only have to change that file. Iīve seen that on an AIX Box but Iīve no more access to that box so I couldnīt figure out how they exactly implemented this feature. Probably they just start the standart .profile and included the userīs .profile to make sure the users the users arenīt able to bypass the standart .profile. Has anybody an idea how to implement this correctly? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|