Re: setting the umask globally

2005-06-16 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2005.06.16.2357 +0200]: > Setting umask globally is a catastrophe. /etc/login.defs *should* be > the central location, but it's not used for SSH (obviously). > > I am going to propose to have this situation rectified. :) FYI: apt-cache show libpam-

Re: setting the umask globally

2005-06-16 Thread martin f krafft
also sprach [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2005.06.16.2310 +0200]: > That should work. > I just tried it and it worked. > I edited /etc/profile, and then commented out the umask in ~/.bash_profile > and then re-logged in via ssh. umask showed what was set in /etc/profile. Yeah, dumb me was

Re: setting the umask globally

2005-06-16 Thread michael
Quoting Øyvind Lode <[EMAIL PROTECTED]>: martin f krafft wrote: I need to set the global umask to 007. The files in which umask is set are: /etc/profile: default at 022, i changed that to 007. /etc/login.defs: default at 022, i changed that to 007. /etc/skel/.bash_profile | /home/*/.bash

Re: setting the umask globally

2005-06-16 Thread martin f krafft
also sprach Øyvind Lode <[EMAIL PROTECTED]> [2005.06.16.2218 +0200]: > > /etc/skel/.bash_profile | /home/*/.bash_profile: commented out > > Could it be that you have a umask line in your ~/.bash_profile or > ~/.bashrc ? > > If yes - comment them out and log in again. As noted above, it's comme

Re: setting the umask globally

2005-06-16 Thread Øyvind Lode
martin f krafft wrote: I need to set the global umask to 007. The files in which umask is set are: /etc/profile: default at 022, i changed that to 007. /etc/login.defs: default at 022, i changed that to 007. /etc/skel/.bash_profile | /home/*/.bash_profile: commented out Nevertheless, the

setting the umask globally

2005-06-16 Thread martin f krafft
I need to set the global umask to 007. The files in which umask is set are: /etc/profile: default at 022, i changed that to 007. /etc/login.defs: default at 022, i changed that to 007. /etc/skel/.bash_profile | /home/*/.bash_profile: commented out Nevertheless, the umask of a new SSH sessio