Changing some pam_mount.conf.xml options. Cleaning up task.
This commit is contained in:
parent
3d09505d20
commit
6677131f90
@ -8,25 +8,3 @@
|
|||||||
- name: Configurazione di pam_mount
|
- name: Configurazione di pam_mount
|
||||||
template: src=pam_mount.conf.xml dest=/etc/security/pam_mount.conf.xml backup=yes
|
template: src=pam_mount.conf.xml dest=/etc/security/pam_mount.conf.xml backup=yes
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
#- name: Creazione directory di default per Condiviso
|
|
||||||
# file: path=/etc/skel/Condiviso state=directory
|
|
||||||
# sudo: yes
|
|
||||||
|
|
||||||
#- name: 'common-auth: aggiunta pam_mount'
|
|
||||||
# lineinfile:
|
|
||||||
# dest: /etc/pam.d/common-auth
|
|
||||||
# regexp: '^auth.*pam_mount\.so$'
|
|
||||||
# insertafter: EOF
|
|
||||||
# line: 'auth optional pam_mount.so'
|
|
||||||
# state: present
|
|
||||||
# sudo: yes
|
|
||||||
#
|
|
||||||
#- name: 'common-session: aggiunta pam_mount'
|
|
||||||
# lineinfile:
|
|
||||||
# dest: /etc/pam.d/common-session
|
|
||||||
# regexp: '^session.*pam_mount\.so$'
|
|
||||||
# insertafter: 'session.*pam_winbind\.so'
|
|
||||||
# line: 'session optional pam_mount.so'
|
|
||||||
# state: present
|
|
||||||
# sudo: yes
|
|
||||||
|
@ -12,8 +12,12 @@ processed in a single pass from top-to-bottom
|
|||||||
<debug enable="0" />
|
<debug enable="0" />
|
||||||
|
|
||||||
<!-- Volume definitions -->
|
<!-- Volume definitions -->
|
||||||
<volume user="*" sgrp="domain users" fstype="cifs" server="{{ server }}" path="%(USER)" mountpoint="~" options="iocharset=utf8,file_mode=0644,dir_mode=0755" />
|
<volume user="*" sgrp="domain users" fstype="cifs"
|
||||||
<volume user="*" sgrp="domain users" fstype="cifs" server="{{ server }}" path="shared" mountpoint="~/Condiviso" options="iocharset=utf8,file_mode=0664,dir_mode=0775" />
|
server="{{ server }}" path="%(USER)" mountpoint="~"
|
||||||
|
options="iocharset=utf8,file_mode=0644,dir_mode=0755,cache=strict" />
|
||||||
|
<volume user="*" sgrp="domain users" fstype="cifs"
|
||||||
|
server="{{ server }}" path="shared" mountpoint="~/Condiviso"
|
||||||
|
options="iocharset=utf8,file_mode=0664,dir_mode=0775,cache=strict" />
|
||||||
|
|
||||||
<!-- pam_mount parameters: General tunables -->
|
<!-- pam_mount parameters: General tunables -->
|
||||||
<!--
|
<!--
|
||||||
@ -25,13 +29,13 @@ processed in a single pass from top-to-bottom
|
|||||||
You will need to explicitly initialize it with the empty string
|
You will need to explicitly initialize it with the empty string
|
||||||
to reset the defaults to nothing.
|
to reset the defaults to nothing.
|
||||||
-->
|
-->
|
||||||
<mntoptions allow="loop,encryption,fsck,nonempty,allow_root,allow_other" />
|
|
||||||
<!--
|
<!--
|
||||||
|
<mntoptions allow="loop,encryption,fsck,nonempty,allow_root,allow_other" />
|
||||||
<mntoptions deny="suid,dev" />
|
<mntoptions deny="suid,dev" />
|
||||||
<mntoptions allow="*" />
|
<mntoptions allow="*" />
|
||||||
<mntoptions deny="*" />
|
<mntoptions deny="*" />
|
||||||
-->
|
|
||||||
<mntoptions require="nosuid,nodev,exec" />
|
<mntoptions require="nosuid,nodev,exec" />
|
||||||
|
-->
|
||||||
|
|
||||||
<logout wait="10" hup="0" term="0" kill="0" />
|
<logout wait="10" hup="0" term="0" kill="0" />
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user