diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index 57ccf12e..3e7b85d1 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -2348,7 +2348,14 @@ ilog "**** Post - Add user/groups **" ilog "*********************************************************" # Set password for root to 'root' -usermod -p '$6$hEv/K.fPeg/$ezIWhJPrMG3WtdEwqQRdyBwdYmPZkqW2PONFAcDd6TqWliYc9dHAwW4MFTlLanVH3/clE0/34FheDMpbAqZVG.' root +# usermod -p '$6$hEv/K.fPeg/$ezIWhJPrMG3WtdEwqQRdyBwdYmPZkqW2PONFAcDd6TqWliYc9dHAwW4MFTlLanVH3/clE0/34FheDMpbAqZVG.' root + +# To enable root password +# 1. Uncomment set root password command above +# 2. Comment out 'passwd -l root' command below + +# Lock the root password +passwd -l root # Remove admin user whether it exists or not deluser admin || true