Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#66068 - [pambase] Use

Attached to Project: Arch Linux
Opened by Marcos Mello (marcosfrm) - Wednesday, 01 April 2020, 19:56 GMT
Last edited by freswa (frederik) - Wednesday, 01 April 2020, 20:22 GMT
Task Type Feature Request
Category Packages: Core
Status Assigned
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Would this approach benefit Arch?

If I get things correctly:

- Add "session optional" to PAM stack (system-login)
- Synchronize /etc/login.defs with upstream shadow: set UMASK to 022 and new option (since 4.8.1) HOME_MODE to 0700.
- Drop umask call from /etc/profile (filesystem package)

This way umask configuration is centralized in /etc/login.defs.
This task depends upon

Comment by Marcos Mello (marcosfrm) - Thursday, 02 April 2020, 11:41 GMT
Did a quick test and it works fine here: /etc/login.defs' UMASK is now respected.

The key feature to make it work is the new /etc/login.defs' HOME_MODE option.
Comment by Marcos Mello (marcosfrm) - Sunday, 05 April 2020, 09:57 GMT