Do you want this script to run once at system boot or once for every user session?

If the former, you can use the init mechanism.  Scripts have to be crafted carefully for use in this way, as I've found to my cost :-(.

The latter is probably achievable by calling it from one of the profile scripts in /etc/profiles.d.   

This being *n*x, there are lots of ways... really depends what the script is going to do.

Martin.

-- 
  Martin Bly      |      RAL Tier1 Systems Team
  T: +44|0 1235 446981  |  F: +44|0 1235 446626 

> -----Original Message-----
> From: [log in to unmask] 
> [mailto:[log in to unmask]] On 
> Behalf Of Ioannis Vranos
> Sent: Thursday, February 08, 2007 8:27 PM
> To: Scientific Linux Users mailing list
> Subject: Executing a script during start up
> 
> SL 4.4 x86.
> 
> 
> Probably it is a piece of cake question for most here, 
> however I have moved to GNU/Linux only recently, from the 
> familiar Blue Screen Of Death OS. :-)
> 
> 
> How can I make a given script or an executable to run during 
> start up, system-wide? I am 
> using GNOME and I suppose I can place it on the "Startup 
> Programs" in "Sessions" for every 
> user, but I suppose there is a more elegant approach to this.
> 
> 
> Thanks in advance.
>