From bad0ed8d159cb77466ed81a624355b1e80ead0dc Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 2 Jun 2006 15:37:38 +0000 Subject: Relevant BUGIDs: 1427738 Purpose of commit: new feature/bugfix Commit summary: --------------- 2006-06-02 Thorsten Kukuk * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1. * doc/man/pam.3: Likewise. * doc/man/pam.conf.5: Likewise. * doc/man/pam_acct_mgmt.3: Likewise. * doc/man/pam_authenticate.3: Likewise. * doc/man/pam_chauthtok.3: Likewise. * doc/man/pam_close_session.3: Likewise. * doc/man/pam_conv.3: Likewise. * doc/man/pam_end.3: Likewise. * doc/man/pam_error.3: Likewise. * doc/man/pam_fail_delay.3: Likewise. * doc/man/pam_get_data.3: Likewise. * doc/man/pam_get_item.3: Likewise. * doc/man/pam_get_user.3: Likewise. * doc/man/pam_getenv.3: Likewise. * doc/man/pam_getenvlist.3: Likewise. * doc/man/pam_info.3: Likewise. * doc/man/pam_open_session.3: Likewise. * doc/man/pam_prompt.3: Likewise. * doc/man/pam_putenv.3: Likewise. * doc/man/pam_set_data.3: Likewise. * doc/man/pam_set_item.3: Likewise. * doc/man/pam_setcred.3: Likewise. * doc/man/pam_sm_acct_mgmt.3: Likewise. * doc/man/pam_start.3: Likewise. * doc/man/pam_strerror.3: Likewise. * doc/man/pam_syslog.3: Likewise. * modules/pam_access/access.conf.5: Likewise. * modules/pam_access/pam_access.8: Likewise. * modules/pam_cracklib/pam_cracklib.8: Likewise. * modules/pam_deny/pam_deny.8: Likewise. * modules/pam_echo/pam_echo.8: Likewise. * modules/pam_env/pam_env.8: Likewise. * modules/pam_env/pam_env.conf.5: Likewise. * modules/pam_exec/pam_exec.8: Likewise. * modules/pam_filter/pam_filter.8: Likewise. * modules/pam_ftp/pam_ftp.8: Likewise. * modules/pam_group/group.conf.5: Likewise. * modules/pam_group/pam_group.8: Likewise. * modules/pam_issue/pam_issue.8: Likewise. * modules/pam_lastlog/pam_lastlog.8: Likewise. * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise. * modules/pam_succeed_if/pam_succeed_if.8: Likewise. * modules/pam_umask/pam_umask.8: Likewise. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use dngettext if available [#1427738]. * configure.in: Check for dngettext [#1427738]. * po/*.po: Update to dngettext usage. * modules/pam_listfile/Makefile.am: Include Make.xml.rules. * modules/pam_listfile/pam_listfile.8.xml: New. * modules/pam_listfile/pam_listfile.8: New, generated from xml file. * modules/pam_listfile/README.xml: New. * modules/pam_listfile/README: Regenerated from xml file. --- modules/pam_umask/pam_umask.8 | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) (limited to 'modules/pam_umask') diff --git a/modules/pam_umask/pam_umask.8 b/modules/pam_umask/pam_umask.8 index 8e0cbb7c..97ce6a62 100644 --- a/modules/pam_umask/pam_umask.8 +++ b/modules/pam_umask/pam_umask.8 @@ -1,8 +1,11 @@ -.\" ** You probably do not want to edit this file directly ** -.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). -.\" Instead of manually editing it, you probably should edit the DocBook XML -.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "PAM_UMASK" "8" "05/30/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" +.\" Title: pam_umask +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.70.1 +.\" Date: 06/02/2006 +.\" Manual: Linux\-PAM Manual +.\" Source: Linux\-PAM Manual +.\" +.TH "PAM_UMASK" "8" "06/02/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -17,33 +20,35 @@ pam_umask \- PAM module to set the file mode creation 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. .PP The PAM module tries to get the umask value from the following places in the following order: -.TP 3 +.TP 3n \(bu umask= argument -.TP +.TP 3n \(bu umask= entry of the users GECOS field -.TP +.TP 3n \(bu pri= entry of the users GECOS field -.TP +.TP 3n \(bu ulimit= entry of the users GECOS field -.TP +.TP 3n \(bu UMASK= entry from /etc/default/login -.TP +.TP 3n \(bu UMASK entry from /etc/login.defs +.sp +.RE .SH "OPTIONS" .PP -.TP +.TP 3n \fBdebug\fR Print debug information. -.TP +.TP 3n \fBusergroups\fR If the user is not root, and the user ID is equal to the group ID, 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). -.TP +.TP 3n \fBumask=\fR\fB\fImask\fR\fR Sets the calling process's file mode creation mask (umask) to \fBmask\fR @@ -55,13 +60,13 @@ Only the service is supported. .SH "RETURN VALUES" .PP -.TP +.TP 3n PAM_SUCCESS The new umask was set successfull. -.TP +.TP 3n PAM_SERVICE_ERR No username was given. -.TP +.TP 3n PAM_USER_UNKNOWN User not known. .SH "EXAMPLES" @@ -70,13 +75,16 @@ Add the following line to \fI/etc/pam.d/login\fR to set the user specific umask at login: .sp +.RS 3n .nf session optional pam_umask.so umask=0022 .fi +.RE .sp .SH "SEE ALSO" .PP + \fBpam.conf\fR(5), \fBpam.d\fR(8), \fBpam\fR(8) -- cgit v1.2.3