Re: [patch] document USERGROUPS_ENAB in login.defs(5)
Tomasz Kłoczko <[email protected]> Sat, 8 Apr 2006 16:12:29 +0200 (CEST)
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 7 Apr 2006, Mike Frysinger wrote: > seems documentation on this feature is lacking + If <emphasis remap='I'>yes</emphasis>, then when a user logs in + and their uid != 0, uid == gid, and their username is the same as + their initial login group, their umask is set to 002 instead of + 022. About UMASK. Now above isn't true. If PAM is enabled used UMASK for login/su session is managed on PAM level. For case non-PAM and any other where UMASK is neccessary shadow uses UMASK defined in lib/getdef.h (022). kloczek -- ----------------------------------------------------------- *Ludzie nie majÂą problemĂłw, tylko sobie sami je stwarzajÂą* ----------------------------------------------------------- Tomasz KÂłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*