LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Executing scripts upon login (http://www.linuxquestions.org/questions/linux-newbie-8/executing-scripts-upon-login-172226/)

jungatheart 04-19-2004 05: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 06:03 PM

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

jungatheart 04-19-2004 06: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 06:06 PM

Nevermind, I found it.

Thank you very much cswor.


All times are GMT -5. The time now is 11:26 AM.