File: README

package info (click to toggle)
pam-umask 0.01
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 192 kB
  • ctags: 12
  • sloc: sh: 153; ansic: 117; makefile: 76
file content (20 lines) | stat: -rw-r--r-- 788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This is pam_umask, a module for adjusting the umask of processes.

It is written by Tollef Fog Heen <tfheen@err.no>, and you may use this
under the conditions of the GPL version 2, as noted in
<http://www.gnu.org/copyleft/gpl.html>.  I'd appreciate any bug
reports, patches, suggestions etc.

It is based on pam_tmpdir which in turn is based on pam_env which in
turn is based on pam_mail.

To use this module, be sure to add a line like

session    optional     pam_umask.so umask=002

to the services where you want to set the umask to 002

Note that using "optional" instead of "required" will allow users to
login even if pam_umask fails to parse the umask line.  Using
"required" will deny login if an error occurs while setting the umask,
which is clearly a non-desireable situation.