sftp icon indicating copy to clipboard operation
sftp copied to clipboard

Re-reading users.conf

Open jdd-agency opened this issue 3 years ago • 2 comments

After adding one user to the users.conf file the server creates the user within the container. After changing the users.conf with adding a new user and restarting the container, it doesn't read the new configuration. if the configuration file name changes it picks up the all users again.

jdd-agency avatar Oct 20 '22 10:10 jdd-agency

I think I'm having the same issue.

Looks like this might be a feature not a bug, looking at: https://github.com/atmoz/sftp/blob/master/files/entrypoint , line 32

# Create users only on first run

Not sure why that would be.

Mist-Hunter avatar Feb 21 '23 20:02 Mist-Hunter

Probably because of https://github.com/atmoz/sftp/issues/362

jult avatar Feb 23 '23 14:02 jult