Re: UPG and the default umask
On Tue, 11 May 2010, Steve Langasek wrote:
> On Mon, May 10, 2010 at 05:34:32PM -0700, Don Armstrong wrote:
> > On Mon, 10 May 2010, Aaron Toponce wrote:
> > > If the default umask is '0002' on a UPG system,
> > > then this checklist item doesn't need to be worried about.
>
> > If you want to use usergroups by default, add something like:
>
> > session optional pam_umask.so usergroups
>
> > to /etc/pam.d/login
>
> Which won't have any effect on any services except for console tty logins
> (no effect on X logins, ssh, etc).
If you want those services affected, you can edit their service files
directly. (Or, if you want everything that includes common-session
affected, you can shove it in there.)
Don Armstrong
--
I will not make any deals with you. I've resigned. I will not be
pushed, filed, stamped, indexed, briefed, debriefed or numbered. My
life is my own. I resign.
-- Patrick McGoohan as Number 6 in "The Prisoner"
http://www.donarmstrong.com http://rzlab.ucr.edu
Reply to: