This file is indexed.

/usr/share/sadms-2.0.15/_install-pam.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# bbou@ac-toulouse.fr
# 2006-04-23 09:20:00         
# _install-pam.sh

### P A R A M S

MYVERBOSE=
if [ "$1" == "-v" ];then
	export MYVERBOSE="$1"
	shift
fi
if [ "$1" == "-t" ];then
	MYTEST="$1"
	shift
else
	MYTEST=
fi
if [ "$1" == "-w" ];then
	MYDOWINBIND="$1"
	shift
else
	MYDOWINBIND=
fi
if [ "$1" == "-h" ];then
	MYDOMKHOMEDIR="$1"
	shift
else
	MYDOMKHOMEDIR=
fi
if [ "$1" == "-m" ];then
	MYDOMOUNT="$1"
	shift
else
	MYDOMOUNT=
fi

MYNARGS=$#
MYCIFSSERVER="$1"
MYCIFSSHARE="$2"
MYMOUNTPOINT="$3"
MYDOMAIN="$4"
MYUSER="$5"

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 "install PAM"
echo "-------------------------------------------------------------------------------"
echo "[BEGIN]"
if [ ${MYNARGS} -lt 5 ]
then
	echo "Incorrect number of parameters"
	exit 1
fi

./_install-pam-core.sh  ${MYVERBOSE} ${MYTEST} ${MYDOWINBIND} ${MYDOMKHOMEDIR} ${MYDOMOUNT} "${MYCIFSSERVER}" "${MYCIFSSHARE}" "${MYMOUNTPOINT}" "${MYDOMAIN}" "${MYUSER}"
result=$?
echo "[END]"
exit ${result}