/usr/share/sadms-2.0.15/conf/unconfig-nss.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 | #!/bin/bash
# bbou@ac-toulouse.fr
# 17.11.2006
# conf/unconfig-nss.sh
### P A R A M S
# none
### I N C L U D E S
. ./_include.sh
### M O D I F I E D F I L E S ...
nssconffile=nsswitch.conf
### ... W I T H A C C E S S
INST_UID=root
INST_GID=root
INST_MOD=644
### S T A R T
# C L E A N U P N S S W I T C H . C O N F
echo "+configure name switch service"
echo "clean up ${ETCDIR}/${nssconffile}"
sed 's/ winbind//' ${ETCDIR}/${nssconffile} > ${TMPDIR}/${nssconffile}
# I N S T A L L
echo install modified ${nssconffile} to ${ETCDIR}
${INSTALL} -o ${INST_UID} -g ${INST_GID} -m ${INST_MOD} ${TMPDIR}/${nssconffile} ${ETCDIR} > /dev/null
# C L E A N U P
rm -f ${TMPDIR}/${nssconffile}
# S E R V I C E N A M E S W I T C H C A C H E D A E M O N
echo "+restart ${NSCDSERVICE}"
if ${SERVICESTATUS} ${NSCDSERVICE} > /dev/null; then
${SERVICE} ${NSCDSERVICE} stop > /dev/null
${SERVICE} ${NSCDSERVICE} start > /dev/null
fi
# S E R V I C E A U T O S T A R T
#echo "+disable ${NSCDSERVICE} automatic startup"
#${SERVICEREMOVE} ${NSCDSERVICE} > /dev/null 2> /dev/null
|