From 118425dc8da68220dd502ee8d38a75e2c34fdbf0 Mon Sep 17 00:00:00 2001 From: Sthope Date: Sun, 17 Apr 2022 16:52:16 +0200 Subject: [PATCH] first commit --- docs/cmnds/adduser-1line.md | 2 +- docs/proxmox/LXC-Debian.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) 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