aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7f9a8833..88a47cea 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -570,6 +570,9 @@ for afile in /var/lock/* /var/run/*; do
fi
done
+# Reset pam_console permissions
+[ -x /sbin/pam_console_apply ] && /sbin/pam_console_apply -r
+
{
# Clean up utmp/wtmp
>/var/run/utmp