mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
lock root account on base non-live image
do not create test user
This commit is contained in:
parent
4ffd8b8c9e
commit
ec70d8e3fa
@ -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
|
timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup
|
||||||
|
|
||||||
# Set dummy encrypted root password and activate the root account
|
# Set dummy encrypted root password and activate the root account
|
||||||
rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz.
|
# rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz.
|
||||||
# rootpw --lock --iscrypted locked # Lock the root account
|
rootpw --lock --iscrypted locked # Lock the root account
|
||||||
|
|
||||||
# Create "test" user account # Unnecessary if using inital-setup
|
# 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
|
firewall --enabled # Make sure the firewall is enabled
|
||||||
services --enabled=NetworkManager --disabled=sshd
|
services --enabled=NetworkManager --disabled=sshd
|
||||||
|
Loading…
Reference in New Issue
Block a user