diff --git a/docs/cmnds/adduser-1line.md b/docs/cmnds/adduser-1line.md index 0768277..c01e55c 100644 --- a/docs/cmnds/adduser-1line.md +++ b/docs/cmnds/adduser-1line.md @@ -7,4 +7,4 @@ sudo adduser USER --gecos "69,69,69,69" --disabled-password;echo "USER:PWD" | su ``` bash -c "$(wget -qLO - https://bit.ly/3KKMgEx)" createuser USER PWD -``` \ No newline at end of file +``` diff --git a/docs/proxmox/LXC-Debian.md b/docs/proxmox/LXC-Debian.md index c00c88c..34ab159 100644 --- a/docs/proxmox/LXC-Debian.md +++ b/docs/proxmox/LXC-Debian.md @@ -13,4 +13,19 @@ clear;bash -c "$(wget -qLO - https://github.com/Sthopeless/proxmox_with_docker/r with Docker & Portainer: ``` clear;bash -c "$(wget -qLO - https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/create_container.sh)" +``` + +Create new user, replace USER with your username and PWD with your password and send: +``` +bash -c "$(wget -qLO - https://bit.ly/3KKMgEx)" createuser USER PWD +``` + +*Sudo must be installed if you want to use sudo commands with new user, send as root: +``` +apt-get update;apt-get upgrade -y; apt-get install -y sudo +``` + +Disable autologin on the LXC terminal send, should be disabled after reboot: +``` +rm /etc/systemd/system/container-getty@1.service.d/override.conf ``` \ No newline at end of file