From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4ae70fbb58dc1bc6 X-Google-Attributes: gidfee84,public From: pedwards@cs.wright.edu (Phil Edwards) Subject: Re: Help: Creating global Login Scripts ?? Date: 1997/06/12 Message-ID: <5npohc$h85$1@alpha.wright.edu>#1/1 X-Deja-AN: 247965838 References: Organization: $home X-Why-No-Archive: well, do /you/ think it's worth the diskspace? Newsgroups: comp.unix.osf.osf1 Dave Gadsby wrote: + Hi, + I am trying to set-up a 'global' .login (or whatever?) to carry out some + system stuff whenever a user logs in to my system. We are running OSF/1 + on a Digital Alfa. All users are allocated a csh env by default. + + Is there a default file, or can I create such a file ? The idea is that + any 'global' settings I change, I won't have to edit 450+ .login or + .cshrc files ! Our "Alfa" is running dU 3.2c. From the second paragraph from "man csh": # When you run csh, it begins by executing commands from the file .cshrc # in your home directory, if it exists. If the shell is invoked with a # name that starts with -, as when started by login, the shell runs as a # login shell. If csh runs as a login shell, it executes commands from # the system-wide login file /etc/csh.login, if that file exists, and # then com- mands from your $home/.cshrc file and your $home/.login file, # in that order. (If argument zero ($0) to the shell is a - (dash), then # the shell is a login shell.) Your system administrator can create # /etc/csh.login to provide a standardized environment for all users, but # you can include commands in $home/.cshrc or $home/.login to override # settings and assignments made by /etc/csh.login. /dev/phil