You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying a USER_NAME and this user exists already (e.g. listed in /etc/passwd) usermod fails with an error and authorized_keys is looked up from /sbin
Currently this log is all that is present to signify there is an issue usermod: user 'sync' already exists
I missed this log initially and only saw it once I found the issue after looking at the ssh debug logs.
Expected Behavior
An error should be raised and the container should exit
Steps To Reproduce
Set USER_NAME to one of these users (I was using sync which was producing the error)
Is there an existing issue for this?
Current Behavior
When specifying a USER_NAME and this user exists already (e.g. listed in
/etc/passwd
)usermod
fails with an error andauthorized_keys
is looked up from/sbin
Currently this log is all that is present to signify there is an issue
usermod: user 'sync' already exists
I missed this log initially and only saw it once I found the issue after looking at the ssh debug logs.
Expected Behavior
An error should be raised and the container should exit
Steps To Reproduce
Set
USER_NAME
to one of these users (I was usingsync
which was producing the error)Environment
CPU architecture
x86-64
Docker creation
docker compose up with SYNC_SSH_PUBLIC_KEY and SYNC_SSH_PUBLIC_KEY set in env
Container logs
and the debug log that led me to understand what was happening
The text was updated successfully, but these errors were encountered: