#!/bin/bash case $1 in start) eval $(llxcfg-showvars ENABLE_PAM_KRB) if [ "$ENABLE_PAM_KRB" = "yes" ]; then llxcfg-pam-admin enable krb5 else llxcfg-pam-admin disable krb5 fi llxcfg-pam-admin update ;; stop) ;; *) error_message "Usage: $0 {start|stop}" >&2 exit 1 ;; esac exit 0