This file is indexed.

/usr/share/sadms-2.0.15/pre/_preinstall.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/bash
# bbou@ac-toulouse.fr
# 2007-05-06   
# _preinstall.sh

### P A R A M S

package="$1"

### H E L P E R S

function readlink2()
{
	[ ! -L $1 ] || ls -l $1 | sed s/.*-\>\ *//g
}

function followlink()
{
	prg="$1"
	while [ -h "$prg" ] ; do
		ls=`ls -ld "$prg"`
		link=`expr "$ls" : '.*-> \(.*\)$'`
		if expr "$link" : '.*/.*' > /dev/null; then
			prg="$link"
		else
			prg=`dirname "$prg"`/"$link"
		fi
	done
	echo $prg
}

function absdir() 
{ 
	[ -n "$1" ] && ( cd "$1" 2> /dev/null && pwd ; ) 
}

where=`followlink $0`
where=`dirname ${where}`
where=`absdir ${where}`
cd ${where}

### I N C L U D E

. ./_include.sh

### S T A R T

#  D I S T R I B U T I O N
case ${DISTRIBUTION} in
	Redhat)
		./_preinstall-rh.sh ${package}
		exit 0
		;;
	Fedora)
		./_preinstall-fc.sh ${package}
		exit 0
		;;
	Mandriva)
		./_preinstall-mdk.sh ${package}
		exit 0
		;;
	Debian)
		./_preinstall-debian.sh ${package}
		exit 0
		;;
	Ubuntu)
		./_preinstall-ubuntu.sh ${package}
		exit 0
		;;
	Suse)
		./_preinstall-suse.sh ${package}
		exit 0
		;;
	*)
		;;
esac

echo "Automated setup is not supported for this distribution"
echo "You have to do the following:"
echo "-install samba 3"
echo "-install krb5-workstation"
echo "-install pam_mount with dependencies (if PAM is indeed used)"
exit 1