do user setup "correctly"
This commit is contained in:
parent
d3a5d4ea18
commit
f692add983
2 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
<image>
|
||||
<users profiles="Azure,AWSEC2,OpenStack,LiveInstall">
|
||||
<!-- The password here does not matter, it will be erased in config.sh -->
|
||||
<user name="root" groups="root" password="linux" home="/root" pwdformat="plain" />
|
||||
<user name="root" groups="root" home="/root" password="fedora_rocks!" pwdformat="plain" />
|
||||
<user name="riscv" groups="riscv,wheel" home="/home/riscv" password="fedora_rocks!" pwdformat="plain" />
|
||||
</users>
|
||||
</image>
|
||||
|
|
|
@ -33,12 +33,6 @@ echo 'uninitialized' > /etc/machine-id
|
|||
## remove random seed, the newly installed instance should make its own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
#======================================
|
||||
# Delete & lock the root user password
|
||||
#--------------------------------------
|
||||
passwd -d root
|
||||
passwd -l root
|
||||
|
||||
#======================================
|
||||
# Setup default services
|
||||
#--------------------------------------
|
||||
|
|
Loading…
Reference in a new issue