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