citadel/realmfs-builder/realmfs-modules/create-user

7 lines
157 B
Plaintext
Raw Normal View History

2018-03-07 23:52:40 +00:00
info "Creating user account"
useradd -s /bin/bash -m user
echo "user:user" | chpasswd
usermod -aG sudo user
echo "export DISPLAY=:0" >> /home/user/.bashrc