Line 98: |
Line 98: |
| #includedir /etc/sudoers.d | | #includedir /etc/sudoers.d |
| | | |
− | * /etc/pam.d/common-auth | + | * /etc/pam.d/common-auth (replace contents with the following) |
| ## allow users with valid unix account or valid winbind account | | ## allow users with valid unix account or valid winbind account |
| # success=3 jumps over the next 3 commands | | # success=3 jumps over the next 3 commands |
Line 105: |
Line 105: |
| auth requisite pam_deny.so | | auth requisite pam_deny.so |
| auth optional pam_mount.so use_first_pass | | auth optional pam_mount.so use_first_pass |
− | auth required pam_group.so use_first_pass | + | auth required pam_group.so |
| | | |
− | * /etc/pam.d/common-session | + | * /etc/pam.d/common-session (replace contents with the following) |
| # | | # |
| # /etc/pam.d/common-session - session-related modules common to all services | | # /etc/pam.d/common-session - session-related modules common to all services |
Line 121: |
Line 121: |
| session optional pam_mount.so | | session optional pam_mount.so |
| | | |
− | * /etc/pam.d/gdm (re-arranged because of permission problems) | + | * /etc/pam.d/gdm3 (replace contents with the following) |
| #%PAM-1.0 | | #%PAM-1.0 |
| auth requisite pam_nologin.so | | auth requisite pam_nologin.so |