[systemd-devel] [PATCH 2/2] Make wtmp match utmp perms, and add btmp.

Lennart Poettering lennart at poettering.net
Mon Oct 25 14:23:22 PDT 2010


On Thu, 21.10.10 22:37, Bill Nottingham (notting at redhat.com) wrote:

Applied. Thanks!

> 
> Signed-off-by: Bill Nottingham <notting at redhat.com>
> ---
>  tmpfiles.d/systemd.conf |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
> index 41ff210..09d8344 100644
> --- a/tmpfiles.d/systemd.conf
> +++ b/tmpfiles.d/systemd.conf
> @@ -8,7 +8,8 @@
>  d /var/lock/subsys 0755 root root -
>  d /var/run/user 0755 root root -
>  F /var/run/utmp 0664 root utmp -
> -f /var/log/wtmp 0644 root utmp -
> +f /var/log/wtmp 0664 root utmp -
> +f /var/log/btmp 0600 root utmp -
>  
>  d /tmp 1777 root root 10d
>  d /var/tmp 1777 root root 30d


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list