From 3cf4cb4f56d5367288dedc4e3c713da744c1666b Mon Sep 17 00:00:00 2001 From: dougb Date: Thu, 24 Feb 2011 06:28:48 +0000 Subject: The new accounting file needs to be 644 so that unprivileged users can use lastcomm(1) --- etc/rc.d/accounting | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/rc.d') diff --git a/etc/rc.d/accounting b/etc/rc.d/accounting index 7ebc11f..502ffe6 100755 --- a/etc/rc.d/accounting +++ b/etc/rc.d/accounting @@ -58,6 +58,7 @@ accounting_rotate_log() if checkyesno accounting_enable; then _file=`mktemp newacct-XXXXX` + chmod 644 $_file ${accounting_command} ${_dir}/${_file} fi -- cgit v1.1