From ba701e96879c9d24677fe98bbd59bac72002cef9 Mon Sep 17 00:00:00 2001 From: Jakob Hagl Date: Mon, 2 Dec 2019 15:17:47 +0100 Subject: [PATCH] Fix usercreation --- chrootinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrootinstall.sh b/chrootinstall.sh index afb33ec..2526477 100644 --- a/chrootinstall.sh +++ b/chrootinstall.sh @@ -35,7 +35,7 @@ EOF # root pw echo 'root:'${PWD} | chpasswd #create user -useradd -m -G wheel jakobu5 +useradd -m -G wheel ${USER} # pw change for users echo ${USER}':'${PWD} | chpasswd