From Fedora Project Wiki
m (1 revision(s)) |
(fix formatting, add to category) |
||
Line 6: | Line 6: | ||
== Steps To Reproduce == | == Steps To Reproduce == | ||
# Start and installation using any available means | |||
# Provide ks.cfg file with the password settings | |||
# Finish the installation | |||
== Expected Results == | == Expected Results == | ||
# Install completes without error | |||
# The system boots into runlevel 3 | |||
# /etc/shadow is present | |||
# There is an entry looking like: | |||
<pre> | <pre> | ||
root:$5$hRk.l8NWEY8iZuZ2$T/tkh0Fuh4m2oh8JMBbFuliro.Gox46Mo9w9WIVwmqC:13933:0:99999:7::: | root:$5$hRk.l8NWEY8iZuZ2$T/tkh0Fuh4m2oh8JMBbFuliro.Gox46Mo9w9WIVwmqC:13933:0:99999:7::: | ||
Line 41: | Line 41: | ||
@ Base | @ Base | ||
</pre> | </pre> | ||
[[Category:Test Cases]] |
Revision as of 19:15, 29 May 2008
QA/TestCases/ShadowPasswordSHA256
Description
This test case will verify that the SHA-256 algorithm is used to produce the password hashes in /etc/shadow. The default will be SHA-512 and it will not be configurable in the UI. Use kickstart to specify which algorithm to use.
Steps To Reproduce
- Start and installation using any available means
- Provide ks.cfg file with the password settings
- Finish the installation
Expected Results
- Install completes without error
- The system boots into runlevel 3
- /etc/shadow is present
- There is an entry looking like:
root:$5$hRk.l8NWEY8iZuZ2$T/tkh0Fuh4m2oh8JMBbFuliro.Gox46Mo9w9WIVwmqC:13933:0:99999:7:::
$5$ indicates SHA-256
Automation
Use ks.cfg below. Change with the relevant server/tree values.
install authconfig --enableshadow --passalgo=sha256 rootpw fedora lang en_US timezone --utc America/New_York firewall --disabled network --device eth0 --bootproto dhcp reboot vnc url --url http://server/fedora-tree bootloader zerombr clearpart --all autopart %packages --resolvedeps @ Base