1
0
forked from brl/citadel
citadel/realmfs-builder/realmfs-modules/create-user

7 lines
157 B
Plaintext
Raw Permalink Normal View History

2018-03-07 18:52:40 -05: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