Re: UPG and the default umask
On Mon, 17 May 2010, Timo Juhani Lindfors wrote:
> Santiago Vila <sanvila@unex.es> writes:
> > In either case, if we plan to set default umask in /etc/login.defs or
>
> /etc/login.defs is not read when I login to openssh server and it has
> "UseLogin" set to false. If I enable UseLogin then X11 forwarding
> stops working [1]. To me it seems that login.defs can not be the only
> place where umask is set.
Ok, what about PAM?
I would *really* like to drop umask setting from /etc/profile and rely on
something of lower level, be it login.defs, PAM or whatever.
What would be the steps required to be able to drop umask from /etc/profile?
Reply to: