Skip to content

Commit

Permalink
Authselect profile minimal is now called local in RHEL10.
Browse files Browse the repository at this point in the history
Adjust variables and test scenarios to take this into account.
Setting minimal variable to local should make the conversion transparent
for users that have selected this in their profiles. RHEL10 profile will
select minimal as well and it will translate correctly into local
profile which should be the same as minimal. Minimal profile is not
even available as deprecated in RHEL10.
  • Loading branch information
ggbecker committed Jan 17, 2025
1 parent faae294 commit bfc9afb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
pam_files=("password-auth" "system-auth")

{{%- if ('rhel' in product or 'ol' in product) and product not in ['ol8', 'ol9', 'rhel8', 'rhel9']%}}
# rhel>=10 default profile is now called local
authselect create-profile testingProfile --base-on local
{{%- else %}}
authselect create-profile testingProfile --base-on minimal
{{%- endif %}}

CUSTOM_PROFILE_DIR="/etc/authselect/custom/testingProfile"

Expand Down
8 changes: 7 additions & 1 deletion linux_os/guide/system/accounts/var_authselect_profile.var
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

title: Authselect profile
title: Authselect profile

description: |-
Specify the authselect profile to select
Expand All @@ -12,6 +12,12 @@ operator: equals
interactive: false

options:
{{%- if ('rhel' in product or 'ol' in product) and product not in ['ol8', 'ol9', 'rhel8', 'rhel9']%}}
default: local
minimal: local
local: local
{{%- else %}}
default: minimal
minimal: minimal
{{%- endif %}}
sssd: sssd

0 comments on commit bfc9afb

Please sign in to comment.