diff options
author | dougb <dougb@FreeBSD.org> | 2011-02-24 06:28:48 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-02-24 06:28:48 +0000 |
commit | 3cf4cb4f56d5367288dedc4e3c713da744c1666b (patch) | |
tree | c72e718a26c77c29a5faaecd8404011f650ec774 | |
parent | 17108b16ca7746b4c9b795be7c1747e1bf06a790 (diff) | |
download | FreeBSD-src-3cf4cb4f56d5367288dedc4e3c713da744c1666b.zip FreeBSD-src-3cf4cb4f56d5367288dedc4e3c713da744c1666b.tar.gz |
The new accounting file needs to be 644 so that unprivileged users
can use lastcomm(1)
-rwxr-xr-x | etc/rc.d/accounting | 1 |
1 files changed, 1 insertions, 0 deletions
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 |