1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

The new accounting file needs to be 644 so that unprivileged users

can use lastcomm(1)
This commit is contained in:
Doug Barton 2011-02-24 06:28:48 +00:00
parent 23d5a8b50f
commit e1c7c9d377
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218986

View File

@ -58,6 +58,7 @@ accounting_rotate_log()
if checkyesno accounting_enable; then
_file=`mktemp newacct-XXXXX`
chmod 644 $_file
${accounting_command} ${_dir}/${_file}
fi