From ff6e4d9b41388051913508f5f91131c15852ecee Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Thu, 23 Feb 2023 18:29:22 +0000 Subject: [PATCH] Revert "Unlock root account" This reverts commit 4eaba3a4a9be66ad428950546b326cb15920c67c. Reason for revert: Emergency Mode debug complete. Need to re-lock root account Change-Id: If396b99ceaf0199a246a61df906961a346a50eb1 --- kickstart/files/kickstart.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index f45e7294..f262e623 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -2065,14 +2065,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 +passwd -l root # Remove admin user whether it exists or not deluser admin || true