pam_umask − PAM module to set the file mode creation mask
pam_umask.so [debug] [silent] [usergroups] [umask=mask]
pam_umask is a PAM module to set the file mode creation mask of the current environment. The umask affects the default permissions assigned to newly created files.
The PAM module tries to get the umask value from the following places in the following order:
• umask= argument
• umask= entry of the users GECOS field
• pri= entry of the users GECOS field
• ulimit= entry of the users GECOS field
• UMASK= entry from /etc/default/login
• UMASK entry from /etc/login.defs
Print debug information.
Don´t print informative messages.
If the user is not root and the username is the same as primary group name, the umask group bits are set to be the same as owner bits (examples: 022 −> 002, 077 −> 007).
Sets the calling process´s file mode creation mask (umask) to mask & 0777. The value is interpreted as Octal.
Only the session type is provided.
The new umask was set successfully.
No username was given.
User not known.
Add the following line to /etc/pam.d/login to set the user specific umask at login:
session optional pam_umask.so umask=0022
pam_umask was written by Thorsten Kukuk <firstname.lastname@example.org>.
More Linux Commands
authunix_create_default(3) - library routines for remote pro
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
glActiveTextureARB(3gl) - select active texture unit........
glActiveTextureARB selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementati
XvListImageFormats(3) - return list of image formats support
XvListImageFormats(3) returns the XvImageFormatValues supported by the specified port. This list should be freed with XFree(3). Returned Values XvImageFormatVal
git-mailsplit(1) - Simple UNIX mbox splitter program........
Splits a mbox file or a Maildir into a list of files: 0001 0002 .. in the specified directory so you can process them further from there. Important Maildir spli
gpgv2(1) - Verify OpenPGP signatures - Linux manual page....
gpgv2 is an OpenPGP signature verification tool. This program is actually a stripped-down version of gpg which is only able to check signatures. It is somewhat
Tk_BindEvent(3) - invoke scripts in response to X events....
These procedures provide a general-purpose mechanism for creating and invoking bindings. Bindings are organized in terms of binding tables. A binding table cons
cyrus.conf(5) - Cyrus configuration file - Linux man page...
/etc/cyrus.conf is the configuration file for the Cyrus master process. It defines the startup procedures, services and events to be spawned by master. The /etc
gnutls_strerror_name(3) - API function - Linux manual page
Return the GnuTLS error code define as a string. For example, gnutls_strerror_name (GNUTLS_E_DH_PRIME_UNACCEPTABLE) will return the string GNUTLS_E_DH_PRIME_UNA
significandl(3) - get mantissa of floating-point number.....
The significand() function returns the mantissa of x scaled to the range [1,2). It is equivalent to scalb(x, (double) -ilogb(x)) This function exists mainly for
prctl(2) - operations on a process - Linux manual page......
prctl() is called with a first argument describing what to do (with values defined in <linux/prctl.h>), and further arguments with a significance depending on t
XvQueryExtension(3) - return version and release of extensio
XvQueryExtension(3) returns the version and release numbers for the Xv video extension currently loaded on the system. The extension major request number, event
atd(8) - run jobs queued for later execution (Man Page).....
atd runs jobs queued by at(1). OPTIONS -l Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of 0.8.