Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 umask=0027


share|improve this question
What OS are you using? – Chris S Jun 22 '11 at 14:10
  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)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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