#!/bin/sh
find "/var/log" -name "*" -type f -exec rm -f {} \;
rm -f /var/log/xrdp*
touch /var/log/xrdp.log
chown xrdp:adm /var/log/xrdp.log
chmod 640 /var/log/xrdp.log
#!/bin/sh
find "/var/log" -name "*" -type f -exec rm -f {} \;
rm -f /var/log/xrdp*
touch /var/log/xrdp.log
chown xrdp:adm /var/log/xrdp.log
chmod 640 /var/log/xrdp.log