where to call sshd?
mike h
foobar at u.washington.edu
Tue Sep 21 11:05:08 PDT 1999
In RedHat 6.0 (and in 5.2 I think) you should make a startup script and
place it in /etc/rc.d/init.d. The easiest way is to copy an existing one
and modify it to suit your needs.
Once you've got a script for it, use chkconfig to add it to the list of
software to be loaded at boot. Note that chkconfig allows you to control
which software/daemons load in different runlevels.
For example, say you've made your script /etc/rc.d/init.d/sshd and you
want it to be run while booting into runlevels 2 (multi user, no NFS), 3
(true multi user), and 5 (X window system):
chkconfig --add sshd
chkconfig --level 235 sshd on
'man 8 chkconfig' ought to fill in anything I've missed.
-----------------------------------------------
Michael Hornung foobar at u.washington.edu
On Tue, 21 Sep 1999, Joseph Cheek wrote:
|I usually end up putting the call in /etc/rc.d/rc.local, it works well for
|me. Ymmv.
|
|thanks!
|
|joe
|
| ___ ___
| __ | |_ __ __ | |_ __ __ _____ * Joseph Cheek, Director
| / _)| \ / _) / _)| _) / _) / \ | | * joseph at cheek.com or
| ( (_ | | |( _)( _)| \ _ ( (_ ( () )| |_| | * (206) 282-2892
| \__)|_|_| \__) \__)|_\_)(_) \__) \__/ |_| |_| * http://www.cheek.com/
| Cheek Consulting, Seattle, provides Linux and Internet solutions
| linux * web commerce * html * java * perl * php * informix * mysql
|
|-----Original Message-----
|From: LINUX-owner at u.washington.edu [mailto:LINUX-owner at u.washington.edu]On
|Behalf Of T. Tam
|Sent: Tuesday, September 21, 1999 10:05 AM
|To: UW Linux Group
|Subject: where to call sshd?
|
|Howdy,
|
| where should sshd be called from so that it starts everytime, in
|RedHat 6.0 and SuSe 6.2 systems?
|
|-=- Terence
|
|
|
More information about the Linux
mailing list