#!/bin/sh # # $OpenBSD: mod_auth_kerb-enable,v 1.1.1.1 2005/11/03 16:23:13 alek Exp $ MODULE=!!PREFIX!!/lib/mod_auth_kerb.so if [ `id -u` -ne 0 ]; then echo "You must be root to run this script." exit fi if [ ! -f ${MODULE} ]; then echo "Cannot find mod_auth_krb module (${MODULE})" exit 1 else echo "Enabling Kerberos Authentication module..." /usr/sbin/apxs -i -a -n auth_kerb ${MODULE} fi