* Help: Creating global Login Scripts ??
@ 1997-06-12 4:00 Dave Gadsby
1997-06-12 4:00 ` Phil Edwards
1997-06-12 4:00 ` Matt Cheek
0 siblings, 2 replies; 3+ messages in thread
From: Dave Gadsby @ 1997-06-12 4:00 UTC (permalink / raw)
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 !
Thanx in advance for any ideas.....
--
Dave Gadsby
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help: Creating global Login Scripts ??
1997-06-12 4:00 Help: Creating global Login Scripts ?? Dave Gadsby
@ 1997-06-12 4:00 ` Phil Edwards
1997-06-12 4:00 ` Matt Cheek
1 sibling, 0 replies; 3+ messages in thread
From: Phil Edwards @ 1997-06-12 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help: Creating global Login Scripts ??
1997-06-12 4:00 Help: Creating global Login Scripts ?? Dave Gadsby
1997-06-12 4:00 ` Phil Edwards
@ 1997-06-12 4:00 ` Matt Cheek
1 sibling, 0 replies; 3+ messages in thread
From: Matt Cheek @ 1997-06-12 4:00 UTC (permalink / raw)
Dave Gadsby (gadders@putsch.demon.co.uk) wrote:
: 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 !
Dave,
/etc/csh.login
From the csh(1) man page:
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. Your system administrator can create /etc/csh.login to
provide a standardized environment for all users, but you can include com-
mands in $home/.cshrc or $home/.login to override settings and assignments
made by /etc/csh.login
Matt
--
MCI Telecommunications | Matthew.Cheek@MCI.Com
2424 Garden of the Gods Road | MCI Mail: 201-2666
Colorado Springs, CO 80919 | Tel: (719) 535-6677
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-06-12 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12 4:00 Help: Creating global Login Scripts ?? Dave Gadsby
1997-06-12 4:00 ` Phil Edwards
1997-06-12 4:00 ` Matt Cheek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox