mirror of
https://github.com/devnullvoid/pvetui.git
synced 2026-04-25 05:15:51 +03:00
[GH-ISSUE #40] Allow setting user per guest #9
Labels
No labels
bug
bug
documentation
enhancement
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pvetui#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nathanwoodburn on GitHub (Oct 27, 2025).
Original GitHub issue: https://github.com/devnullvoid/pvetui/issues/40
Originally assigned to: @devnullvoid on GitHub.
It would be nice to allow users to specify an override of the default user for 1 guest
I usually have my VMs with username
nathanhowever the LXC containers usually haverootand no user account. So if I have the user set to nathan it won't let me log into the LXC containers@devnullvoid commented on GitHub (Oct 27, 2025):
Hi @Nathanwoodburn,
Thanks for the issue! Let me clarify how pvetui currently works:
LXC containers:
ssh_usersudo pct enter <id>which logs you in as root automaticallyssh_usersetting doesn't affect the LXC guest login at allQEMU VMs:
ssh_userCan you clarify what error you're seeing? Are you:
nathaninside LXC containers (currently not possible -pct enteralways gives root)?If it's
#2, you can runsu - nathanafter entering the container. If you want automatic per-guest username support, that would be a feature request.Thanks!
@Nathanwoodburn commented on GitHub (Oct 27, 2025):
Oh I'm assuming it is then an issue connecting to the PVE host. In that case I can just add a new user to PVE and fix it
@devnullvoid commented on GitHub (Oct 27, 2025):
Exactly! That's how I have mine set up: with a user
jonon each PVE host. You can also add sudoers rules for that user to prevent being prompted for password when runningpct enter.https://github.com/devnullvoid/pvetui#-tips
@Nathanwoodburn commented on GitHub (Oct 27, 2025):
That works except for this error now
But that is likely an issue with PVE not the TUI
@Nathanwoodburn commented on GitHub (Oct 27, 2025):
NVM looks like those are just broken LXC containers and my newer ones work fine