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
>   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.


Attachment: signature.asc
Description: Digital signature

Reply via email to