mirror of
https://github.com/fosrl/newt.git
synced 2026-07-16 11:53:33 -05:00
[GH-ISSUE #384] Pangolin SSH Automated Provisioning error: "useradd" not found in $PATH #7206
Reference in New Issue
Block a user
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 @rosalinaowo on GitHub (Jun 15, 2026).
Original GitHub issue: https://github.com/fosrl/newt/issues/384
Describe the Bug
Newt fails to create a new user when Automated Provisioning is enabled in a Pangolin SSH resource.
Result on the browser:

On the logs I can see this:
This could be due to Alpine having
adduserinstead ofuseraddEnvironment
To Reproduce
My docker compose file:
Pangolin SSHmode and chooseAutomated ProvisioningExpected Behavior
Newt finds
useraddin the PATH and executes the command correctly, or usesadduseror an equivalent command to successfully create the new user@AstralDestiny commented on GitHub (Jun 15, 2026):
You can't use the automated provisoning within a container newt even with host networking as newt itself needs to run useradd which doesn't exist within the container even if it did it wouldn't function as it would be targetting it's own environment not the host.
@AstralDestiny commented on GitHub (Jun 15, 2026):
Only the binary supports the automated provisioning.