This file is indexed.

/usr/share/sadms-2.0.15/_sync-clocks.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
# 2007-05-22 16:29:48 
# _sync-clocks.sh

### P A R A M S

MYSERVER="$1"

### S T A R T

# this doesn't seem to work properly
function setnettime0()
{
net time set $1 > /dev/null
}

function setnettime()
{
if ! net time system $1 > /dev/null; then
	return 1
fi
t=`net time system $1`
date $t > /dev/null
}

echo "--------------------------------------------------------------------------------"
echo "SYNCHRONIZING CLOCKS WITH ${MYSERVER}"
echo "--------------------------------------------------------------------------------"

serveropt=""
if [ "${MYSERVER}" != "" ]; then
	serveropt="-S ${MYSERVER}"
fi
echo "+synchronizing clocks"
if setnettime "${serveropt}" > /dev/null; then
nettime=`net time ${serveropt} | sed 's/\n//g'`
echo -n "net time is now:	"
date -d "${nettime}" "+%Y-%m-%d %H:%M.%S"
fi

echo -n "local time is now:	"
date "+%Y-%m-%d %H:%M.%S"