-
Bug
-
Resolution: Done
-
Normal
-
None
-
6.14.0
-
0
-
False
-
-
False
-
CLOSED
-
400
-
Rocket
-
-
-
Sat_docs_2_2024
-
Moderate
-
No
Section Number and Name:
2.19. Setting a Default Encrypted Root Password for Hosts
1. Procedure
Generate an encrypted password:
Describe the issue:
Running on a RHEL 8.8 machine running the command
```
- python -c 'import crypt,getpass;pw=getpass.getpass(); print(crypt.crypt(pw)) if (pw==getpass.getpass("Confirm: ")) else exit()'
```
Returns
```
bash: python: command not found...
```
Suggestions for improvement:
Should be changed to
```
python3 -c 'import crypt,getpass;pw=getpass.getpass(); print(crypt.crypt(pw)) if (pw==getpass.getpass("Confirm: ")) else exit()'
```
Additional information: