Skip to content
Snippets Groups Projects
pam_mount.conf.xml 1.21 KiB
Newer Older
  • Learn to ignore specific revisions
  • schiermi's avatar
    schiermi committed
    <?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 -->
    
    
    		<!-- 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" />
    
    <logout wait="0" hup="0" term="0" kill="0" />
    
    
    		<!-- pam_mount parameters: Volume-related -->
    
    <mkmountpoint enable="1" remove="true" />
    
    <volume user="guest" fstype="tmpfs" mountpoint="/tmp/tmpfs-%(USER)" options="size=10M,uid=%(USER),mode=0700" />
    <volume user="guest" fstype="unionfs" mountpoint="/home/guest" options="dirs=/tmp/tmpfs-%(USER):/etc/skel=ro:/home/guest=ro" />
    
    </pam_mount>