Optimizing pam common-auth, preferring winbind authentication over local authentication. Should permit faster login times.
This commit is contained in:
parent
2ba3d76897
commit
fe9a76ec03
@ -7,30 +7,29 @@
|
|||||||
|
|
||||||
# common-auth
|
# common-auth
|
||||||
|
|
||||||
#- name: 'common-auth: modifica pam_unix'
|
- name: 'common-auth: modifica pam_unix'
|
||||||
# replace:
|
replace:
|
||||||
# dest: /etc/pam.d/common-auth
|
dest: /etc/pam.d/common-auth
|
||||||
# regexp: '^.*pam_unix\.so.*nullok_secure$'
|
regexp: '^.*pam_unix\.so.*nullok_secure$'
|
||||||
# replace: 'auth [success=1 default=ignore] pam_unix.so nullok_secure use_first_pass'
|
replace: 'auth [success=1 default=ignore] pam_unix.so nullok_secure try_first_pass'
|
||||||
# backup: yes
|
sudo: yes
|
||||||
# sudo: yes
|
|
||||||
#
|
- name: 'common-auth: rimuovo config auto pam_winbind'
|
||||||
#- name: 'common-auth: aggiunta pam_winbind'
|
lineinfile:
|
||||||
# lineinfile:
|
dest: /etc/pam.d/common-auth
|
||||||
# dest: /etc/pam.d/common-auth
|
regexp: 'pam_winbind\.so krb5'
|
||||||
# regexp: '^auth.*pam_winbind\.so$'
|
state: absent
|
||||||
# insertbefore: '^auth.*pam_unix\.so'
|
sudo: yes
|
||||||
# line: 'auth [success=2 default=ignore] pam_winbind.so'
|
|
||||||
# state: present
|
- name: 'common-auth: aggiunta pam_winbind'
|
||||||
# sudo: yes
|
lineinfile:
|
||||||
#
|
dest: /etc/pam.d/common-auth
|
||||||
#- name: 'common-auth: rimuovo config auto pam_winbind'
|
regexp: '^auth.*pam_winbind\.so$'
|
||||||
# lineinfile:
|
insertbefore: '^auth.*pam_unix\.so'
|
||||||
# dest: /etc/pam.d/common-auth
|
line: 'auth [success=2 default=ignore] pam_winbind.so'
|
||||||
# regexp: 'pam_winbind\.so krb5'
|
state: present
|
||||||
# state: absent
|
sudo: yes
|
||||||
# sudo: yes
|
|
||||||
#
|
|
||||||
## common-password
|
## common-password
|
||||||
#
|
#
|
||||||
#- name: 'common-password: configurazione pam_unix'
|
#- name: 'common-password: configurazione pam_unix'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user