Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadow: update to 4.17.0 #9118

Merged
merged 1 commit into from
Jan 2, 2025
Merged

shadow: update to 4.17.0 #9118

merged 1 commit into from
Jan 2, 2025

Conversation

Cyanoxygen
Copy link
Member

@Cyanoxygen Cyanoxygen commented Dec 30, 2024

Topic Description

  • shadow: update to 4.17.0
    • Sync login.defs with upstream, while keeping existing configuration.
    • Change decade-old umask value to 022.
    • Ditch the libpwquality and cracklib, which only annoys the user.

Package(s) Affected

  • shadow: 4.17.0

Security Update?

No

Build Order

#buildit shadow

Test Build(s) Done

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64
  • LoongArch 64-bit loongarch64

Secondary Architectures

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el
  • RISC-V 64-bit riscv64

@Cyanoxygen Cyanoxygen added the upgrade Topic/issue involves a package upgrade label Dec 30, 2024
@Cyanoxygen Cyanoxygen marked this pull request as ready for review December 30, 2024 15:06
@Cyanoxygen Cyanoxygen force-pushed the shadow-4.17.0 branch 2 times, most recently from 4b29f39 to 16a2bd3 Compare December 31, 2024 03:31
- Sync login.defs with upstream, while keeping existing configuration.
- Change decade-old umask value to 022.
- Ditch the libpwquality and cracklib, which only annoys the user.
- Set HOMEMODE in /etc/default/useradd and /etc/login.defs to 0700. This
  allows the umaks value to be more permissive while keeping the home
  directories safe.
- Set umask in /etc/default/useradd to 022 for files inside home
  directories.
- Set PATH and SUPATH for non-Bash shells.
- Enable manual page generation (it is not re-generation by the way).
@Cyanoxygen
Copy link
Member Author

Testing

LGTM on amd64:

  • Home directory of the new user is private (0700).
  • SUPATH is in effect (see the screenshot below).
  • Changing password no longer emit warnings.
  • Login via SSH is functional.
  • Login via console is functional.
image image

@Cyanoxygen Cyanoxygen merged commit 47370dc into stable Jan 2, 2025
6 checks passed
@Cyanoxygen Cyanoxygen deleted the shadow-4.17.0 branch January 2, 2025 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Topic/issue involves a package upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants