Add pam_mount configuration
parent
31a2a57e89
commit
04d5d8fefd
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
|
||||
<!--
|
||||
See pam_mount.conf(5) for a description.
|
||||
-->
|
||||
|
||||
<pam_mount>
|
||||
|
||||
<!-- debug should come before everything else,
|
||||
since this file is still processed in a single pass
|
||||
from top-to-bottom -->
|
||||
|
||||
<debug enable="0" />
|
||||
|
||||
<!-- Volume definitions -->
|
||||
|
||||
<volume fstype="cifs" server="caithe.pyrocufflink.jazz" path="%(USER)"
|
||||
mountpoint="~/.homeshare" options="cruid=%(USERUID),sec=krb5">
|
||||
<not>
|
||||
<user>root</user>
|
||||
</not>
|
||||
</volume>
|
||||
|
||||
<!-- pam_mount parameters: General tunables -->
|
||||
|
||||
<!--
|
||||
<luserconf name=".pam_mount.conf.xml" />
|
||||
-->
|
||||
|
||||
<!-- Note that commenting out mntoptions will give you the defaults.
|
||||
You will need to explicitly initialize it with the empty string
|
||||
to reset the defaults to nothing. -->
|
||||
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
|
||||
<!--
|
||||
<mntoptions deny="suid,dev" />
|
||||
<mntoptions allow="*" />
|
||||
<mntoptions deny="*" />
|
||||
-->
|
||||
<mntoptions require="nosuid,nodev" />
|
||||
|
||||
<!-- requires ofl from hxtools to be present -->
|
||||
<logout wait="0" hup="no" term="no" kill="no" />
|
||||
|
||||
|
||||
<!-- pam_mount parameters: Volume-related -->
|
||||
|
||||
<mkmountpoint enable="1" remove="true" />
|
||||
|
||||
|
||||
</pam_mount>
|
Loading…
Reference in New Issue