LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-19-2004, 06:47 PM   #1
jungatheart
LQ Newbie
 
Registered: Apr 2004
Location: sunny southern california
Distribution: gentoo
Posts: 10

Rep: Reputation: 0
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.
 
Old 04-19-2004, 07:03 PM   #2
cswor
Member
 
Registered: Apr 2004
Location: TN
Distribution: Only used RH but have heard good things about Mandrake. BSD might be interesting.
Posts: 46

Rep: Reputation: 15
put it in the .bash_profile in the home directory. that should run each time they login.
 
Old 04-19-2004, 07:05 PM   #3
jungatheart
LQ Newbie
 
Registered: Apr 2004
Location: sunny southern california
Distribution: gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 04-19-2004, 07:06 PM   #4
jungatheart
LQ Newbie
 
Registered: Apr 2004
Location: sunny southern california
Distribution: gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Nevermind, I found it.

Thank you very much cswor.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stop konqueror executing shell scripts ahh Linux - Software 2 03-27-2005 07:00 AM
CGI Scripts not executing, pls help john_d13 Linux - General 3 12-22-2004 03:05 PM
Executing Shell Scripts? l0f33t Linux - General 7 08-17-2003 04:36 PM
Executing scripts on a vfat partition maciejz Linux - General 3 05-21-2003 06:35 PM
Executing shell scripts justinv Linux - General 6 01-26-2003 08:57 AM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration