Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pedwards@cs.wright.edu (Phil Edwards)
Subject: Re: Help:  Creating global Login Scripts ??
Date: 1997/06/12	[thread overview]
Message-ID: <5npohc$h85$1@alpha.wright.edu> (raw)
In-Reply-To: rk0XSQAo$AozEwSR@putsch.demon.co.uk



Dave Gadsby  <gadders@putsch.demon.co.uk> 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




  reply	other threads:[~1997-06-12  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-12  4:00 Help: Creating global Login Scripts ?? Dave Gadsby
1997-06-12  4:00 ` Phil Edwards [this message]
1997-06-12  4:00 ` Matt Cheek
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox