[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkg-shadow-devel
Subject:    [Pkg-shadow-devel] Bug#711104: Bug#711104: login: su - doesn't set umask
From:       Christian PERRIER <bubulle () debian ! org>
Date:       2013-06-05 5:00:29
Message-ID: 20130605050029.GE20564 () mykerinos ! kheops ! frmug ! org
[Download RAW message or body]


Quoting Piotr Engelking (inkerman42@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
>   to what the user would expect had the user logged in directly.
> 
> Operating with an unexpected umask value is dangerous, particularly so
> if running as root.
> 
> Please change su - to set umask to the same value that login does.


Without checking, though, I suspect this to be a PAM issue.



["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic