Add riscv user in wheel group

Keep the password simple -- riscv.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-09-30 12:24:59 +03:00
parent c3a97060ef
commit 77a5c2411f
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 2 deletions

View File

@ -9,12 +9,16 @@ lang en_US.UTF-8
keyboard us keyboard us
# short hostname still allows DHCP to assign domain name # short hostname still allows DHCP to assign domain name
network --bootproto dhcp --device=link --hostname=fedora-riscv network --bootproto dhcp --device=link --hostname=fedora-riscv
rootpw riscv rootpw --plaintext riscv
firewall --enabled --ssh firewall --enabled --ssh
timezone --utc America/New_York timezone --utc America/New_York
selinux --disabled selinux --disabled
services --enabled=sshd,NetworkManager,chronyd,haveged --disabled=lm_sensors services --enabled=sshd,NetworkManager,chronyd,haveged --disabled=lm_sensors
# Fedora 31
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
user --name riscv --groups=wheel --plaintext --password=riscv
bootloader --location=none --extlinux bootloader --location=none --extlinux
zerombr zerombr
@ -297,7 +301,9 @@ Build date: $(date --utc)
Kernel \r on an \m (\l) Kernel \r on an \m (\l)
The root password is riscv. The root password is 'riscv'.
root password logins are disabled in SSH starting Fedora 31.
User 'riscv' with password 'riscv' in 'wheel' group is also provided.
To install new packages use 'dnf install ...' To install new packages use 'dnf install ...'