Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-23-2005, 07:02 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Running a particular program during boot

I need to run a client to log on to my internet server. Now I login as root and run

./crclient -u <username>

How do I run this automatically when the system is booting?
Old 03-23-2005, 07:50 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You could put your command in /etc/rc.d/rc.local
Old 03-24-2005, 12:36 AM   #3
LQ Newbie
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
have tried that, but it does not seem to work
Old 03-24-2005, 01:52 AM   #4
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
of course...

./crclient -u <username>

won't work because you're using a relative path (./ = this directory). you must put the ABSOLUTE path in the /etc/rc.d/rc.local got it?

Hope this help...

Last edited by bdox; 03-24-2005 at 01:56 AM.


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
running a program from within QT kooshball Programming 4 06-14-2005 06:08 PM
Running a program rj686 Linux - Software 16 10-10-2004 08:19 PM
Program on boot-up won't stop running in a continuous loop... CanadianSlacker Slackware 6 01-14-2004 02:06 AM
Help with running a program at boot Tw0 Linux - Newbie 3 11-24-2003 05:53 PM
Running a new program bananaman Linux - Newbie 4 04-08-2003 05:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 AM.

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