  | |  | Linux Login Script | Linux Login Script 2004-02-09 - By L. Christopher Luther
Back Marcel,
I don 't have a RH box in front of me just now, but I seem to recall that
bash has an environment variable that indicates the shell 's "level ". So if
not level zero, then don 't run the script.
HTH
-- --Original Message-- --
From: Marcel [mailto:linux@(protected)]
Sent: Monday, February 09, 2004 5:10 AM
To: redhat-list@(protected)
Subject: Linux Login Script
Hi
I have a little script which should be executed every time a new user logs
in into a Red Hat 7.3 system, or every time one logs out (doesn 't matter).
In the moment, I put it to /etc/bashrc.
It works, but there is no sense to start the script every time I open a new
shell.
Is there another file which I can use instead of /etc/bashrc?
Thanks for your help!
Marcel Fritzenwallner
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |