diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-07 04:38:13 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-07 04:38:13 +0000 |
commit | 8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6 (patch) | |
tree | abdd966ff23c953de77ddc3a685a4889e908344b /rc.d | |
parent | e6fc09a9fb800687da8c951fb38cd8475f057209 (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 3 |
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 |