[Pkg-shadow-devel] Re: summary preparation for technical comittee: setting the umask

Tollef Fog Heen tfheen at debian.org
Sun Oct 16 02:03:38 UTC 2005


* "C. Gatzemeier" 

| User private groups.

[...]

| From /etc/login.defs:
| # Enable setting of the umask group bits to be the same as owner bits
| # (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is
| # the same as gid, and username is the same as the primary group name.
| #
| # This also enables userdel to remove user groups if no members exist.
| #
| USERGROUPS_ENAB yes

Hmm, libpam-umask doesn't have that functionality directly, but you
can get the same result by setting the umask= option to something
sensible (002) and put 022 into ~root/.pam_umask

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



More information about the Pkg-shadow-devel mailing list