Determine which run level(s) you want it to start on

You will need to use chkconfig.  It will be something like chkconfig --level 
345 ssh .  

http://linuxcommand.org/man_pages/chkconfig8.html


------------------------

Keith Smith

--- On Sun, 7/1/12, [email protected] <[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: How to auto-start /etc/init.d/sshd start
To: [email protected]
Date: Sunday, July 1, 2012, 12:53 PM

How can I get the following command to run automatically
whenever I boot up my Thinkpad?

# /etc/init.d/sshd start <ENTER>

Normally, I have to su to root, and then run the command.




---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to