Bug #24084
closed
Password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work
Added by Lukas Kallies almost 7 years ago.
Updated almost 7 years ago.
Description
The operatingsystem definition lets you select a hashing algorithm (SHA256, SHA512, ...). This is written in uppercase. The value is used in the kickstart_default.erb (authconfig --passalgo=) which needs downcase values.
If SHA512 is selected (SHA256 is the default in kickstart_default.erb), authconfig will use SHA256 anyway because it has no value SHA512 (but sha512).
This issue is also described in RH Bugzilla #1563529 (https://bugzilla.redhat.com/show_bug.cgi?id=1563529)
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5746 added
- Subject changed from root password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work (downcase/uppercase) to Password hash propagation (operatingsystem/kickstart template) to authconfig doesn't work
- Category set to Templates
- Bugzilla link set to 1563529
Hey, yeah thanks. Fixing.
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/community-templates/pull/487 added
- Pull request https://github.com/theforeman/community-templates/pull/488 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 353
Lukas, we are not backporting into 1.18 the fix is a trivial change.
Also available in: Atom
PDF