Revert "Unlock root account"
This reverts commit 4eaba3a4a9be66ad428950546b326cb15920c67c. Reason for revert: Emergency Mode debug complete. Need to re-lock root account Change-Id: If396b99ceaf0199a246a61df906961a346a50eb1
This commit is contained in:
parent
4eaba3a4a9
commit
ff6e4d9b41
@ -2065,14 +2065,14 @@ ilog "**** Post - Add user/groups **"
|
|||||||
ilog "*********************************************************"
|
ilog "*********************************************************"
|
||||||
|
|
||||||
# Set password for root to 'root'
|
# 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
|
# To enable root password
|
||||||
# 1. Uncomment set root password command above
|
# 1. Uncomment set root password command above
|
||||||
# 2. Comment out 'passwd -l root' command below
|
# 2. Comment out 'passwd -l root' command below
|
||||||
|
|
||||||
# Lock the root password
|
# Lock the root password
|
||||||
# passwd -l root
|
passwd -l root
|
||||||
|
|
||||||
# Remove admin user whether it exists or not
|
# Remove admin user whether it exists or not
|
||||||
deluser admin || true
|
deluser admin || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user