Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Discussion options

You must be logged in to vote

Script has been fixed to allow shell access.

To fix your existing LXC, in the Proxmox Shell run the commands below

pct exec CTID bash (change CTID to your Container ID)
sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
reboot

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tteck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #924 on January 12, 2023 12:23.