#!/bin/bash exec 2>&1 cd / chgrp syslog /var/log chmod g+w /var/log exec rsyslogd -n