/usr/share/sadms-2.0.15/_cat-pamconf.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 43 44 45 46 47 48 | #!/bin/bash
# bbou@ac-toulouse.fr
# 2005-08-10 10:11:23
# _cat-pamconf.sh
### P A R A M S
### I N C L U D E
. ./_include.sh
### O T H E R
services=${PAMSERVICES}
#echo "services=${services}"
### S T A R T
echo "-------------------------------------------------------------------------------"
echo "S A D M S `cat version | head -n 1`"
echo "Samba as Active Directory Member Server"
echo "bbou@ac-toulouse.fr"
echo "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
echo "PAM-related configuration files"
echo "-------------------------------------------------------------------------------"
conffiles="${services} samba"
for f in ${conffiles}; do
echo "--------------------------------------------------------------------------------"
echo "#[${f}]"
echo ""
if [ -f ${PAMDIR}/${f} ]; then
cat ${PAMDIR}/${f} | grep -v "^#" | grep -v "^;" | grep -v "^$"
else
echo "<non existent>"
fi
done
conffiles="${SECDIR}/pam_mount.conf ${SKELDIR}/.bash_profile ${X11DIR}/${XINITRCDIR}/${XINITRCCIFSMOUNT}"
for f in ${conffiles}; do
echo "--------------------------------------------------------------------------------"
echo "#[${f}]"
echo ""
if [ -f ${f} ]; then
cat ${f} | grep -v "^#" | grep -v "^;" | grep -v "^$"
else
echo "<non existent>"
fi
done
|