aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-07 04:38:13 +0000
committerBill Nottingham <notting@redhat.com>2001-03-07 04:38:13 +0000
commit8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6 (patch)
treeabdd966ff23c953de77ddc3a685a4889e908344b /rc.d
parente6fc09a9fb800687da8c951fb38cd8475f057209 (diff)
downloadinitscripts-8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6.tar
initscripts-8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6.tar.gz
initscripts-8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6.tar.bz2
initscripts-8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6.tar.xz
initscripts-8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6.zip
run pam_console_apply on startup to reset permissions
Diffstat (limited to 'rc.d')
-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