LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-28-2004, 02:30 PM   #1
id10t
Member
 
Registered: Dec 2003
Location: Minnesota
Distribution: Slackware 9.1
Posts: 63

Rep: Reputation: 15
Run command on boot


I want to run a specific program on boot that is owned by root so it can't be shut down by other users. I know I can have the command be run on Xwindows (by .Xinit or something like that)startup, but sometimes I don't want Xwindows to start. Where is the config file I have to edit?

(I did search for a topic about this, but I can't get the answer I need... The closest I could get was starting it with X)

Thanks
 
Old 01-28-2004, 02:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
It is probably easiest to the command at the end of your "rc.local" file.
 
  


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
run command on boot FNC Linux - General 1 11-13-2005 05:29 AM
Run a command at boot Ace2005 Debian 3 07-24-2005 09:09 AM
making a command run after boot phillips321 Linux - Software 1 04-19-2005 09:11 PM
where do i add a command to make it run on boot stuart Linux - Newbie 4 06-21-2004 06:03 PM
run command at boot/login? apberzerk Linux - General 1 09-22-2003 10:25 PM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
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