This file is indexed.

/usr/lib/rds/provision is in rdsserver 1.1.0-0ubuntu1.

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

#enable user_xattr in fstab
if ! grep -q ext[34].*,user_xattr /etc/fstab
then
        sed  -i '/user_xattr/!s/\(ext[34]\)\([ \t]*\)\([^\t ]*\)/\1\2\3,user_xattr/' /etc/fstab

        #enable acl on any ext* partitions now, so we don't have to reboot
        partitions=`awk '{if(match($3,"ext[34]") == 1) print $2}' /etc/fstab`
        for i in $partitions; do echo enable ACLs for $i; mount $i -o remount,user_xattr; done
fi

mkdir -p /volumes/Hard\ Disk/
touch /volumes/.dontrmdir

cd $RDS_SAMBA_PATH
/etc/init.d/samba4 stop
killall -9 samba
rm $RDS_SAMBA_CONFIGFILE
rm $RDS_SAMBA_PRIVATE/sam.ldb
rm $RDS_SAMBA_PRIVATE/sam.ldb.d/*
rm $RDS_SAMBA_SYSVOL -rf
$RDS_SAMBA_PROVISION --realm=$PROVISION_REALM --domain=$PROVISION_DOMAIN --adminpass="$PROVISION_ADMINPW" --server-role='domain controller'