Will setting the umask that sshd inherits cause any security issues? It would be nice to be able to set this in a system-wide fashion, rather than in .login etc. I'm thinking of Debian, where the setting is per-shell because nobody seems to have thought of doing this. Cheers, Jeremy -- Jeremy Jackson Coplanar Networks (519)897-1516 http://www.coplanar.net
Jeremy Jackson wrote:> Will setting the umask that sshd inherits cause any security issues? It > would be nice to be able to set this in a system-wide fashion, rather > than in .login etc.If the umask is more restrictive than the default then no. If the umask is less restrictive than the default and sshd creates files with restrictive permissions, then that is a bug in sshd.> I'm thinking of Debian, where the setting is per-shell because nobody > seems to have thought of doing this./etc/bashrc ? -d