13 lines
266 B
Bash
Executable file
13 lines
266 B
Bash
Executable file
#!/bin/bash
|
|
|
|
USER=lfs
|
|
PASSWORD=lfs
|
|
|
|
useradd -m -G users,wheel,audio,video -s /bin/bash $USER
|
|
passwd -d $USER &>/dev/null
|
|
passwd -d root &>/dev/null
|
|
|
|
echo "root:root" | chpasswd -c SHA512
|
|
echo "$USER:$PASSWORD" | chpasswd -c SHA512
|
|
|
|
echo "lfs-livecd" > /etc/hostname
|