/usr/share/sadms-2.0.15/_version.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 | #!/bin/bash
# bbou@ac-toulouse.fr
# 2005-07-05 19:27:04
# version.sh
### I N C L U D E
. ./_include.sh
### S T A R T
echo "--------------------------------------------------------------------------------"
echo "VERSION"
echo "--------------------------------------------------------------------------------"
echo "+SADMS"
echo "SADMS version: `cat version`"
echo "+SYSTEM"
echo "release is ${DISTRIBUTIONRELEASEINFO}"
echo "distribution is ${DISTRIBUTION}"
echo "distribution tag is ${DISTRIBUTIONTAG}"
echo "distribution version is ${DISTRIBUTIONVERSION}"
echo "+HOST"
echo "Host is $(hostname)"
echo "FQDN for host is $(hostname -f)"
echo "DNS domain is $(dnsdomainname)"
echo "+PRIVILEGE"
echo "User is $(whoami)"
if [ "$(whoami)" != "root" ]; then
echo "SADMS must be run as root"
exit
fi
|