Add 'debian/recommended'

This commit is contained in:
thebeeboi 2022-10-15 09:15:10 +00:00
parent 9bb55f06ef
commit e61beff358
1 changed files with 17 additions and 0 deletions

17
debian/recommended vendored Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
echo "Hey!"
echo "I'm gonna help you setup a new user and install new programs."
echo "So, first things first, what should I call the user?"
read $username
while true; do
read -p "Ok, so I should call it $username?" yn
case $yn in
[Yy]* ) make install; break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
useradd $username
passwd $username
su $username