Following on from How to setup ssh's umask for all type of connections

Is it possible to do this on a per-user basis? Here's what I have at the minute:

/etc/pam.d/ssh

sesssion optional pam.umask.so umask=0027

Thanks.

link|improve this question

71% accept rate
What OS are you using? – Chris S Jun 22 '11 at 14:10
feedback

1 Answer

  1. The value set by pam_umask can be overridden by the user for interactive logins (man umask)

  2. pam_umask has provisions for per-user settings (man pam_umask)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.