From 5dace4f627fef02c24f9d01ff8d72c984155fce0 Mon Sep 17 00:00:00 2001 From: 1kamma Date: Sat, 18 Jun 2022 18:32:03 +0300 Subject: [PATCH] add user --- saretlinux.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/saretlinux.sh b/saretlinux.sh index 88380d2..08bd8a2 100644 --- a/saretlinux.sh +++ b/saretlinux.sh @@ -1,3 +1,11 @@ +if [$(ls /home |grep saret) != "saret" ]; then + sudo -s + username=saret + password=qwerty + adduser --gecos "" --disabled-password $username + chpasswd <<<"$username:$password" + exit +fi sudo apt -y update sudo apt -y install wget nano curl zsh git lsb-release apt-transport-https --allow-unauthenticated if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then