Skip to content

Commit

Permalink
Add user config option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakobu5 committed Nov 14, 2019
1 parent e9eff2b commit aec09d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrootinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ EOF

# User management
# root pw
echo 'root:1234' | chpasswd
echo 'root:'${PWD} | chpasswd
#create user
useradd -m -G wheel jakobu5
# pw change for users
echo 'jakobu5:1234' | chpasswd
echo ${USER}':'${PWD} | chpasswd

#installing Linux (was not installed)
pacman -S --noconfirm linux mkinitcpio dhcpcd
Expand Down
2 changes: 2 additions & 0 deletions config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ readonly HDD="/dev/sda"
readonly ROOTPART="/dev/sda2"
readonly BOOTPART="/dev/sda1"
readonly HOST="archbox"
readonly USER="user1"
readonly PWD="1234"

0 comments on commit aec09d9

Please sign in to comment.