mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-10 10:14:21 +00:00
atomic, cloud: don't create none user
Anaconda doesn't seem to require it anymore so no need to create it
and then delete it.
(cherry picked from commit 4948e8c002
)
This commit is contained in:
parent
1c64d4718a
commit
d38606ec42
@ -14,7 +14,6 @@ timezone --utc Etc/UTC
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
@ -47,8 +46,6 @@ ostree remote add --set=gpg-verify=false fedora-atomic 'https://kojipkgs.fedorap
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
|
||||
cp /etc/skel/.bash* /var/roothome
|
||||
|
@ -32,7 +32,6 @@ timezone --utc Etc/UTC
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
@ -118,8 +117,6 @@ ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
|
Loading…
Reference in New Issue
Block a user