Skip to content

Unattended support for the new authentication model#1973

Merged
jreidinger merged 14 commits intomasterfrom
new_auth_model
Feb 19, 2025
Merged

Unattended support for the new authentication model#1973
jreidinger merged 14 commits intomasterfrom
new_auth_model

Conversation

@jreidinger
Copy link
Contributor

@jreidinger jreidinger commented Feb 4, 2025

Problem

There is plan to adopt new authentication model where root password does not need to be set and use other ways to authenticate.

trello: https://trello.com/c/qRvd2Q4K/4182-5-agama-unattended-support-for-the-new-authentication-model

Solution

As the first step ensure that unattended installation allows and works with new authentication model. This includes following changes:

  • first user will be in wheel group
  • root password is explicitelly locked if not specified
  • if root ssh key is used, ensure that sshd is enabled and firewall has port open
  • for TW/slowroll use new first user policy by installing proper package

Testing

  • Tested manually

AI

  • check SLES situation

@jreidinger jreidinger marked this pull request as draft February 4, 2025 15:19
@coveralls
Copy link

coveralls commented Feb 17, 2025

Pull Request Test Coverage Report for Build 13415089503

Details

  • 15 of 15 (100.0%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.04%) to 70.881%

Files with Coverage Reduction New Missed Lines %
service/service/lib/agama/users.rb 3 97.22%
Totals Coverage Status
Change from base Build 13414154868: 0.04%
Covered Lines: 17833
Relevant Lines: 25159

💛 - Coveralls

@jreidinger jreidinger marked this pull request as ready for review February 19, 2025 14:23
@jreidinger jreidinger merged commit 8303ce0 into master Feb 19, 2025
11 checks passed
@jreidinger jreidinger deleted the new_auth_model branch February 19, 2025 15:12
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments