aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-04-07 06:35:49 +0000
committerErik Troan <ewt@redhat.com>1999-04-07 06:35:49 +0000
commitef3d1e10d2012c9e2eec27cc87ffc8683e38a955 (patch)
tree922060f2b917d71d9edf80ad501943a0488a2636 /rc.d/rc.sysinit
parentc37b4d914245ac93d7cc04b6a3a41f35fe28d98b (diff)
downloadinitscripts-ef3d1e10d2012c9e2eec27cc87ffc8683e38a955.tar
initscripts-ef3d1e10d2012c9e2eec27cc87ffc8683e38a955.tar.gz
initscripts-ef3d1e10d2012c9e2eec27cc87ffc8683e38a955.tar.bz2
initscripts-ef3d1e10d2012c9e2eec27cc87ffc8683e38a955.tar.xz
initscripts-ef3d1e10d2012c9e2eec27cc87ffc8683e38a955.zip
made wtmp, utmp mode 664 and owned by group wtmp
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 69b5992c..f7832b21 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -283,6 +283,9 @@ fi
# Clean out /etc.
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck
>/var/run/utmp
+>/var/log/wtmp
+chgrp utmp /var/run/utmp /var/log/wtmp
+chmod 0664 /var/run/utmp /var/log/wtmp
# Delete pam_console lock and refcount files
rm -f /var/lock/console.lock