psacct/accton-create

6 lines
109 B
Bash
Executable File

#!/bin/sh
ACCTFILE=/var/account/pacct
if [ ! -r $ACCTFILE ];then
touch $ACCTFILE && chmod 600 $ACCTFILE
fi