* help: Creating Global Login scripts ??
@ 1997-06-12 4:00 Dave Gadsby
1997-06-12 4:00 ` John Hill
` (2 more replies)
0 siblings, 3 replies; 4+ 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] 4+ 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 ` John Hill
1997-06-13 4:00 ` Matthias Kring
1997-06-18 4:00 ` Scott Kinnane
2 siblings, 0 replies; 4+ messages in thread
From: John Hill @ 1997-06-12 4:00 UTC (permalink / raw)
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 !
>
> Thanx in advance for any ideas.....
> --
> Dave Gadsby
I apologise if I'm missing something obvious, but "man csh" tells me
that /etc/csh.login is intended for precisely this purpose.
Regards,
John Hill
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Dr. John C. Hill University of Cambridge, +
+ E-mail: hill@hep.phy.cam.ac.uk Cavendish Laboratory, +
+ Phone: +44-1223-337243 Madingley Road, +
+ Fax: +44-1223-353920 Cambridge, CB3 0HE, U.K. +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
^ permalink raw reply [flat|nested] 4+ 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 ` John Hill
@ 1997-06-13 4:00 ` Matthias Kring
1997-06-18 4:00 ` Scott Kinnane
2 siblings, 0 replies; 4+ messages in thread
From: Matthias Kring @ 1997-06-13 4:00 UTC (permalink / raw)
On Thu, 12 Jun 1997 16:03:38 +0100, 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.
Alpha, please ;-)
>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.....
No ideas, simply quoting the csh online manual:
"If csh runs as a login shell, it executes commands from the
system-wide login file /etc/csh.login, if that file exists, and the
commands from your $HOME/.cshrc file and your $HOME/.login file, in
that order."
You may also change the default login files in /usr/skel.
Matthias
---
Matthias Kring Ditec Bildungszentrum Koeln mkring@
matthias.kring@ Stolberger Strasse 78 netcologne.de
ditec.de D-50933 Koeln (+49)(0)221-95472-227
----- keepyourspam@127.0.0.1 -----
^ permalink raw reply [flat|nested] 4+ 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 ` John Hill
1997-06-13 4:00 ` Matthias Kring
@ 1997-06-18 4:00 ` Scott Kinnane
2 siblings, 0 replies; 4+ messages in thread
From: Scott Kinnane @ 1997-06-18 4:00 UTC (permalink / raw)
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 !
>
> Thanx in advance for any ideas.....
> --
> Dave Gadsby
For those that change to a sh type shell, you should also modify
/etc/profile to match the changes to /etc/csh.login.
scott
--
Scott Kinnane
Computer Systems Officer
Dept. of Electrical & Electronic Engineering,
The University of Western Australia,
NEDLANDS WA 6907 Australia
Ph : +61-8-9380-1587
Facsimile : +61-8-9380-1065
Email : scott@ee.uwa.edu.au
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-06-18 4:00 UTC | newest]
Thread overview: 4+ 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 ` John Hill
1997-06-13 4:00 ` Matthias Kring
1997-06-18 4:00 ` Scott Kinnane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox