-   Linux - Newbie (
-   -   Executing scripts upon login (

jungatheart 04-19-2004 06:47 PM

Executing scripts upon login
I am trying to write a script that will inform a user of any new messages/files that have changed since their last login. I don't need any help with the actual script, I would just like to know where to place the script and what, if any, changes I need to make with the user settings. I'm only interested in applying this script to a single user. Is there any way that I can get it to automatically execute when this user signs in?

Thank you very much in advance for the help.

cswor 04-19-2004 07:03 PM

put it in the .bash_profile in the home directory. that should run each time they login.

jungatheart 04-19-2004 07:05 PM

Is that a file or a folder?

I'm running a fairly fresh installation of gentoo with a minimal set of programs. I am using bash, though.

jungatheart 04-19-2004 07:06 PM

Nevermind, I found it.

Thank you very much cswor.

All times are GMT -5. The time now is 12:07 PM.