NextCloudPi LXC, unable to access shell #925
-
Describe the issue |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Confirm this issue. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Script has been fixed to allow shell access.To fix your existing LXC, in the Proxmox Shell run the commands below
|
Beta Was this translation helpful? Give feedback.
-
hi @tteck maybe it's just me but even using the fix I'm unable to see ssh in ncp panel. I used pct exec CTID bash command to change root password and then use winscp (I wrote just for someone else that may found this useful). Maybe I'm missing some step? |
Beta Was this translation helpful? Give feedback.
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