Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

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

share|improve this answer

Your Answer

 
discard

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.