This file is indexed.

/usr/share/sadms-2.0.15/_precheck.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
#!/bin/bash
# bbou@ac-toulouse.fr
# 2004-09-26 18:28:27  
# precheck.sh

### P A R A M S

MYVERBOSE=
if [ "$1" == "-v" ];then
	export MYVERBOSE="-v"
	shift
fi

### I N C L U D E

. ./_include.sh

### S T A R T

echo "--------------------------------------------------------------------------------"
echo "PRECHECK"
echo "--------------------------------------------------------------------------------"

echo "+SYSTEM"
echo "${DISTRIBUTIONRELEASEINFO}"
echo distribution is ${DISTRIBUTION}
echo distribution tag is ${DISTRIBUTIONTAG}
echo "+CLIB"
echo C library is ${LIBC_VERSMAJ}

# P R I V I L E G E
echo "+PRIVILEGE"
echo User is $(whoami)
if [ ! $(whoami) = "root" ]; then
	echo "SADMS must be run as root"
	exit
fi

# S A M B A  L I B R A R I E S   A  N D   P A C K A G E S
./_check-samba.sh ${MYVERBOSE}
if [ ! $? = 0 ]; then
	echo "[FAIL] samba check failed" >&2
fi

# K E R B E R O S   L I B R A R I E S   A  N D   P A C K A G E S
./_check-kerberos.sh ${MYVERBOSE}
if [ ! $? = 0 ]; then
	echo "[FAIL] kerberos check failed" >&2
fi

# P A M _ M O U N T   L I B R A R I E S   A  N D   P A C K A G E S
./_check-pam_mount.sh ${MYVERBOSE}
if [ ! $? = 0 ]; then
	echo "[FAIL-PAM ONLY] pam_mount check failed"
fi

# R U N T I M E  D E P E N D E N C I E S
echo "+RUNTIME"
./sadms-deps.py