#!/bin/bash chgrp syslog /var/logs chmod g+w /var/logs exec rsyslogd -n