lock root account on base non-live image

do not create test user
This commit is contained in:
lukas 2021-08-18 16:45:15 +02:00
parent 4ffd8b8c9e
commit ec70d8e3fa

View File

@ -25,11 +25,11 @@ lang en_US.UTF-8 # Set system language to American English # Unnecessary if usin
timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup
# Set dummy encrypted root password and activate the root account
rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz.
# rootpw --lock --iscrypted locked # Lock the root account
# rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz.
rootpw --lock --iscrypted locked # Lock the root account
# Create "test" user account # Unnecessary if using inital-setup
user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test"
# user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test"
firewall --enabled # Make sure the firewall is enabled
services --enabled=NetworkManager --disabled=sshd