Revert "Unlock root account"

This reverts commit 4eaba3a4a9.

Reason for revert: Emergency Mode debug complete. Need to re-lock root account

Change-Id: If396b99ceaf0199a246a61df906961a346a50eb1
This commit is contained in:
Eric MacDonald 2023-02-23 18:29:22 +00:00
parent 4eaba3a4a9
commit ff6e4d9b41
1 changed files with 2 additions and 2 deletions

View File

@ -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