Subject: saslauthd SysV init script for RedHat
From: Etienne Goyer (etienne dot goyer at linuxquebec dot com)
Date: Thu Apr 24 2003 - 11:40:48 EDT
Hi there,
I just wrote an init script for saslauthd on RedHat (tested on 7.3).
To use it, just copy it to /etc/init.d and do :
chkconfig --add saslauthd
From there on, saslauthd will start automatically at runlevel 3, 4 and
5. By default, it will use saslauthd in /usr/local/sbin/saslauthd with
mechanism "getpwent". You can override that by creating
/etc/sysconfig/saslauthd and adding :
SASLAUTHD=/path/to/your/saslauthd
MECH=<the mech you want to use>
You should be able to RedHat-specific service management tools such as :
service saslauthd start # Start saslauthd
service saslauthd status # Tell if saslauthd is running
service saslauthd stop # Stop saslauthd
service saslauthd restart # restart saslauthd
chkconfig --list saslauthd # tell at which runlevel saslauthd start
chkconfig saslauthd off # Don't start saslauthd automatically
etc ...
Have a nice day !
-- Etienne Goyer Linux Québec Technologies Inc. http://www.LinuxQuebec.com etienne dot goyer at linuxquebec dot com PGP Pub Key: http://www.LinuxQuebec.com/pubkeys/eg.key Fingerprint: F569 0394 098A FC70 B572 5D20 3129 3D86 8FD5 C853
|
|
|