On Fri, 14 May 2010, Aaron Toponce wrote: > I think some additional configuration might need to be in place with > this change. UPG assumes that the group is indeed private. However, this > isn't necessarily the case for system accounts, where the UID < 100 (per > the Debian docs). There might be many members of the wheel group, tty > group, etc with this umask isn't appropriate, as technically, the group > isn't a "UPG". So, some logic should be placed in the /etc/profile file > to accommodate this: > > # If not a system account, and the user name matches the group name > # it's a user private group, and set umask=0002. Otherwise, it's not > # a user private group, so set umask=0022. > if [ "$UID" -gt 99 ] && [ "$(id -un)" = "$(id -gn)" ]; then > umask 0002 > else > umask 0022 > fi > > Thoughts?
The user root has its Private Group. The other system accounts do not "login" to the system, i.e. their processes do not read /etc/profile. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org