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:


sesssion optional pam.umask.so umask=0027


  • What OS are you using?
    – Chris S
    Jun 22, 2011 at 14:10

1 Answer 1

  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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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