/usr/share/sadms-2.0.15/_uninstall-core.sh is in sadms 2.0.15.repack-0ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/bin/bash
# bbou@ac-toulouse.fr
# 2007-06-23 09:06:17
# _uninstall_core.sh
### P A R A M S
MYVERBOSE=
if [ "$1" = "-v" ]; then
MYVERBOSE="-v"
shift
fi
MYPAM="$1"
if [ "${MYPAM}" = "-pam" ];then
shift
else
MYPAM=
fi
MYADMIN="$1"
MYADMINPWD="$2"
### I N C L U D E
. ./_include.sh
### S T A R T
# P R I V I L E G E
if [ "$(whoami)" != "root" ]; then
echo "User is $(whoami)"
echo "This must be run as root" >&2
exit 1
fi
# S T A T U S
[ -d /var/lib/sadms ] || mkdir -p /var/lib/sadms
echo '0' > /var/lib/sadms/domain
# D O I T
pushd conf > /dev/null
./unconfig.sh ${MYVERBOSE} "${MYADMIN}" "${MYADMINPWD}" "${MYPAM}"
popd > /dev/null
|