Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2018-08-17 Thread Andreas Henriksson
Hello again Petter and sorry for the delay, I think you've misinterpretted me completely. Probably I wasn't very clear. I'll try to comment below and hopefully you can go back and reread my previous mail and then understand it in a new way. Thanks alot for your comments on this by the way. On

Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2018-08-13 Thread Petter Reinholdtsen
[Andreas Henriksson] > (Please note, I've only looked quickly but it seems like > USERGROUPS_ENAB option is only used by useradd/userdel and not any > other tool like su or login implementations in src:shadow. Given we > tend to use adduser rather than the lower level useradd/userdel tools > in

Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2018-08-13 Thread Andreas Henriksson
Control: block -1 by 583958 Hello Petter Reinholdtsen, Thanks for your input on this. On Mon, Aug 13, 2018 at 07:57:06PM +0200, Petter Reinholdtsen wrote: [...] > optionalpam_umask.so umask=002 > > Perhaps the default setup should have a similar line? I see

Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2018-08-13 Thread Petter Reinholdtsen
I'm not a PAM expert, but can perhaps provide an interesting data point. In Debian Edu, we provide the following /usr/share/pam-configs/edu-umask to ensure the umask is set to 002: Name: umask set at login (Debian Edu version) Default: yes Priority: 0 Session-Type: Additional Session:

Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2018-08-11 Thread Andreas Henriksson
Control: tags -1 + help On Wed, Jun 05, 2013 at 07:00:29AM +0200, Christian PERRIER wrote: > Quoting Piotr Engelking (inkerma...@gmail.com): [...] > > The 'su -' command, unlike login, doesn't set umask. This behavior > > disagrees with the man page, which says: > > > > The optional argument -

Bug#711104: [Pkg-shadow-devel] Bug#711104: login: su - doesn't set umask

2013-06-05 Thread Christian PERRIER
Quoting Piotr Engelking (inkerma...@gmail.com): Package: login Version: 1:4.1.5.1-1 Severity: important The 'su -' command, unlike login, doesn't set umask. This behavior disagrees with the man page, which says: The optional argument - may be used to provide an environment similar