From Fedora Project Wiki
Description
This test case will verify that the DES 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. You will need to create a kickstart to specify which algorithm to use.
Steps To Reproduce
- Start an installation using any available means
- Provide ks.cfg file with the password settings (see template below)
- Finish the installation
Expected Results
- Install completes without error
- The system boots into text mode (runlevel 3)
- /etc/shadow is present
- There is an entry looking like:
- root:oZC3ogUiZe.eA:13933:0:99999:7:::
Automation
Use ks.cfg below. Change with the relevant server/tree values.
install authconfig --enableshadow --passalgo=descrypt 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