1 2 3 4 5
#!/usr/bin/sh ACCTFILE=/var/log/acct/acct if [ ! -r $ACCTFILE ];then touch $ACCTFILE && chmod 600 $ACCTFILE fi