mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
76fc4757ac
Mon Nov 4 17:08:47 UTC 2013 Slackware 14.1 x86_64 stable is released! It's been another interesting release cycle here at Slackware bringing new features like support for UEFI machines, updated compilers and development tools, the switch from MySQL to MariaDB, and many more improvements throughout the system. Thanks to the team, the upstream developers, the dedicated Slackware community, and everyone else who pitched in to help make this release a reality. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Have fun! :-)
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
#!/bin/sh
|
|
# rc.saslauthd: start/stop/restart saslauthd
|
|
#
|
|
# saslauthd is a daemon process that handles plaintext authentication
|
|
# requests on behalf of the SASL library. The CMU Cyrus SASL library
|
|
# is a general purpose authentication library for server and client
|
|
# applications. It is mostly used to authenticate to mail servers.
|
|
#
|
|
# saslauthd should be started from the system boot scripts when going
|
|
# to multi-user mode. When running against a protected authentication
|
|
# database (e.g. the shadow mechanism), it must be run as the superuser.
|
|
#
|
|
|
|
saslauthd_start() {
|
|
# If saslauthd is not running, start it:
|
|
if [ ! -r /var/state/saslauthd/saslauthd.pid ]; then
|
|
# Use shadow authentication by default on Slackware:
|
|
echo "Starting SASL authentication daemon: /usr/sbin/saslauthd -a shadow"
|
|
/usr/sbin/saslauthd -a shadow
|
|
fi
|
|
}
|
|
|
|
saslauthd_stop() {
|
|
kill `cat /var/state/saslauthd/saslauthd.pid 2> /dev/null` 2> /dev/null
|
|
sleep 1
|
|
}
|
|
|
|
saslauthd_restart() {
|
|
saslauthd_stop
|
|
saslauthd_start
|
|
}
|
|
|
|
case "$1" in
|
|
'start')
|
|
saslauthd_start
|
|
;;
|
|
'stop')
|
|
saslauthd_stop
|
|
;;
|
|
'restart')
|
|
saslauthd_restart
|
|
;;
|
|
*)
|
|
echo "usage $0 start|stop|restart"
|
|
esac
|