GithubHelp home page GithubHelp logo

Comments (7)

github-actions avatar github-actions commented on August 16, 2024

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

from docker-openssh-server.

aptalca avatar aptalca commented on August 16, 2024

This image is not meant for multiple users. Run a separate instance for each user.

from docker-openssh-server.

zepouet avatar zepouet commented on August 16, 2024

ok @aptalca thanks a lot for your response.

Is it a problem link to rootless usage of the process ?
For my understanding, it is because the sshd processus is non root and cannot read /etc/password or /etc/shadow.

Thanks

from docker-openssh-server.

aptalca avatar aptalca commented on August 16, 2024

/etc/passwd has group and other read permissions so likely not.

But in any case, we don't support multiple users in this image for various other reasons (sshd running as the user being just one of them)

from docker-openssh-server.

zepouet avatar zepouet commented on August 16, 2024

Thanks @aptalca

Finally my request is maybe impossible...
Maybe using sshd without root cannot be possible for multiple users.
If it is possible technically I could try to do it except if it silly to do it and you will never use it.
You have the only one image rootless about this process.

https://security.stackexchange.com/questions/180471/what-are-the-disadvantages-of-running-ssh-daemon-without-root

Best regards,
Nicolas

from docker-openssh-server.

aptalca avatar aptalca commented on August 16, 2024

Like I said, this image was designed from the ground up for a single user. For multiple users, use multiple containers (I have 3 on my home server currently). I mean, this is all about isolation and sandboxing, so you probably want to customize all vars and volumes for different users and sandbox them from each other anyway.

from docker-openssh-server.

github-actions avatar github-actions commented on August 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from docker-openssh-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.