getsolus / getsolus/packages

PAM config change breaks 'Set password on first login' functionality

Open
#7,231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Edition: GNOME
Dominant language
Python
Stars
141
Forks
146
Avg merge
11h 7m
Merged PRs (30d)
407

Description

Please confirm there isn't an open report for this issue
  • I have searched through bug reports
Summary

https://github.com/getsolus/packages/commit/c36faf098c369dd30634f49ecd0b35f0ab15c744

Broke the functionality to set a password on first login

Steps to reproduce
  1. Add a new user via gnome-control-center
  2. Set the password to 'Set password on first login'
  3. Switch user and attempt to login to the new user via TTY or GDM
Expected result

A prompt to set a new password to appear

Actual result

A password is prompted for and disallows login

Environment
  • Is system up to date?
Repo

Polaris (stable)

Desktop Environment

GNOME

System details

n/a

Other comments

We should ensure the root account is disabled on older installations instead

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked packages commit c36faf098c369dd30634f49ecd0b35f0ab15c744 and the PAM configuration it changed. Reproduce the flow through GNOME Control Center, then test login through TTY or GDM; done means a new user receives a prompt to set a password on first login, with the older-installation root-account behavior clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
authentication, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.