This file is indexed.

/usr/bin/ldap2tinydns-conf is in ldap2dns 0.3.1-3.1.

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
#!/bin/sh

mkdir ldap2tinydns
mkdir ldap2tinydns/env
mkdir ldap2tinydns/log
mkdir ldap2tinydns/log/main
touch ldap2tinydns/log/status

cat << EOF_run > ldap2tinydns/run
#!/bin/sh
exec 2>&1
exec envdir ./env softlimit -d250000 /usr/bin/ldap2dns -e "cd /var/tinydns/root && /usr/bin/tinydns-data"
EOF_run

chmod +t ldap2tinydns
chmod 755 ldap2tinydns/run
echo "/var/tinydns/root" > ldap2tinydns/env/TINYDNSDIR
echo "60" > ldap2tinydns/env/LDAP2DNS_UPDATE
echo "data" > ldap2tinydns/env/LDAP2DNS_OUTPUT

cat << EOF_logrun > ldap2tinydns/log/run
#!/bin/sh
exec setuidgid dnslog multilog t ./main
EOF_logrun

chown dnslog.root ldap2tinydns/log/main
chmod g+s ldap2tinydns/log/main
chmod 755 ldap2tinydns/log/run
chown dnslog.root ldap2tinydns/log/status

echo "To supervise ldap2dns do a symbolic link from /service onto ldap2dns"