initial commit

This commit is contained in:
2021-09-02 18:01:03 +02:00
commit 229f86d94b
43 changed files with 1063 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#!/bin/bash
###################################
############ by Sthope ############
###################################
## nano ~/.bashrc
## and add this to the end of the file: export PATH=$PATH:~/bin
## sudo chmod +x ~/bin/*;su -l $USER
#### USAGE
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope_website_examples/raw/branch/master/custom-cmds-in-ubuntu/bin_examples/proxmox_addnewuser)" Username Password
#
apt-get update
apt-get upgrade -y
apt-get install -y sudo
adduser ${0} --gecos "${0},69,69,69" --disabled-password
echo "${0}:${1}" | chpasswd
usermod -aG sudo ${0}
usermod -aG docker ${0}