add sudoers

This commit is contained in:
Marcus 2023-05-01 06:58:49 +02:00
parent 1ada970917
commit 461b735010

View file

@ -96,7 +96,8 @@ apt install -y --no-install-recommends \\
### set root password ### set root password
echo -e "debian\ndebian" | (passwd root) echo -e "debian\ndebian" | (passwd root)
### add debian user ### add debian user
useradd -m -U -s /bin/bash debian #useradd -m -U -s /bin/bash debian
echo -e "debian\ndebian\n\n\n\n\n\n\n" | (adduser -q debian)
### set password ### set password
echo -e "debian\ndebian" | (passwd debian) echo -e "debian\ndebian" | (passwd debian)
### Configure timezone and locale ### Configure timezone and locale