Last change
on this file since 692 was
599,
checked in by josx@…, 15 years ago
|
Mejorando y cambiando la forma en que se usa el modulo cliente de pammount
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8" ?> |
---|
2 | <!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd"> |
---|
3 | <!-- |
---|
4 | See pam_mount.conf(5) for a description. |
---|
5 | --> |
---|
6 | |
---|
7 | <pam_mount> |
---|
8 | |
---|
9 | |
---|
10 | <!-- Volume definitions --> |
---|
11 | <% pammount.each do |type,server,path,mountpoint| %> |
---|
12 | <volume fstype="<%= type %>" server="<%= server %>" path="<%= path %>" mountpoint="<%= mountpoint %>" /> |
---|
13 | <% end %> |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | <!-- pam_mount parameters: General tunables --> |
---|
18 | |
---|
19 | <debug enable="0" /> |
---|
20 | <!-- |
---|
21 | <luserconf name=".pam_mount.conf.xml" /> |
---|
22 | --> |
---|
23 | |
---|
24 | <!-- Note that commenting out mntoptions will give you the defaults. |
---|
25 | You will need to explicitly initialize it with the empty string |
---|
26 | to reset the defaults to nothing. --> |
---|
27 | <mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" /> |
---|
28 | <!-- |
---|
29 | <mntoptions deny="suid,dev" /> |
---|
30 | <mntoptions allow="*" /> |
---|
31 | <mntoptions deny="*" /> |
---|
32 | --> |
---|
33 | <mntoptions require="nosuid,nodev" /> |
---|
34 | <path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path> |
---|
35 | |
---|
36 | <logout wait="0" hup="0" term="0" kill="0" /> |
---|
37 | |
---|
38 | |
---|
39 | <!-- pam_mount parameters: Volume-related --> |
---|
40 | |
---|
41 | <mkmountpoint enable="1" remove="true" /> |
---|
42 | |
---|
43 | |
---|
44 | </pam_mount> |
---|
Note: See
TracBrowser
for help on using the repository browser.