1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Make sure newly created /var/account/acct file is 0600 mode.

This commit is contained in:
Jordan K. Hubbard 1997-01-16 02:18:37 +00:00
parent ef7b564596
commit 525014855b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21751

2
etc/rc
View File

@ -306,7 +306,7 @@ fi
if [ "X${accounting}" = X"YES" -a -d /var/account ]; then
echo 'turning on accounting'
if [ ! -e /var/account/acct ]; then
touch /var/account/acct
touch /var/account/acct && chmod 600 /var/account/acct
fi
accton /var/account/acct
fi