This file is indexed.

/usr/share/sadms-2.0.15/_cat-pammodulesconf.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
#!/bin/bash
# bbou@ac-toulouse.fr
# 2007-05-22 16:39:29 
# _cat-pammodulesconf.sh

### P A R A M S

NEWPAMCONF=
if [ "$1" = "-new" ]; then
	NEWPAMCONF="True"
	shift
fi
services="$1"

### I N C L U D E

. ./_include.sh

### O T H E R

if [ "$1" == "" ]; then
	services=${PAMSERVICES}
fi
#echo "services=${services}"

### S T A R T

targetdir=${PAMDIR}
if [ ! -z "${NEWPAMCONF}" ];then
	targetdir=${TMPDIR}/pam.d
fi
conffiles="${services}"
for f in ${conffiles}; do
	echo "#[${f}]"
	echo ""
	if [ -f ${targetdir}/${f} ]; then
		cat ${targetdir}/${f} | grep -v "^#" | grep -v "^;" | grep -v "^$"
	fi
done