LXC CT with extra Login (Konsole) #1187
-
Hey, i know, when i install a new CT over helper-scripts, i can create a root Password for the Container. it is ONLY for the web console in proxmox, i don't use ssh and the root user is for ssh blocked. Edit: For better understanding... Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
In the LXC shell type: passwd |
Beta Was this translation helpful? Give feedback.
-
https://github.com/community-scripts/ProxmoxVE/wiki/Undoing-Root-%22Auto%E2%80%90Login%22
sudo passwd root
remove bash--autologin root from bash/etc/systemd/system/container-getty@1.service.d/override.conf reboot |
Beta Was this translation helpful? Give feedback.
-
You mean when you're on PVE shell, and accessing the LXC via I believe this would be normal if you're logging into PVE with root and have full privileges. Create a new PVE user with limited permissions if you don't want to have access to LXCs via PVE Shell. Then user this new user to log into your PVE (Proxmox) and make the root password really complicated if security is your concern. |
Beta Was this translation helpful? Give feedback.
https://github.com/community-scripts/ProxmoxVE/wiki/Undoing-Root-%22Auto%E2%80%90Login%22
sudo passwd root
remove bash--autologin root from bash/etc/systemd/system/container-getty@1.service.d/override.conf
3. Reboot Machine
reboot