Giter Club home page Giter Club logo

Comments (5)

krishnasrinivas avatar krishnasrinivas commented on May 30, 2024

Added options --sshuser and --sshport in the latest commit. Can you check if it works fine for you?

from wetty.

terryschen avatar terryschen commented on May 30, 2024

Wow, fast response.

Hi, the sshport works. But the sshuser is not quite what I wanted. With the way the code works, I believe it is still hardcoded at startup. I would like to support different users after the server have started.

But thanks for the sshport commit!

Terry

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 30, 2024

You don't want to run it as root? If you run app.js as root it will spawn /bin/login and it will let you choose username.

from wetty.

terryschen avatar terryschen commented on May 30, 2024

I don't normally like to run webapps as root. Granted, this may just be paranoia on my part. Also, I may not always have root access. As an example, I am running this on a dev box and the administrator has only granted me the ability to run wetty via nginx port forwarding.

Anyway, running as root and using /bin/login does work...So, if this is too much trouble, please close the bug and I can continue to use the perl script I have pasted in earlier.

Thanks!
Terry

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 30, 2024

latest commit has the option to specify the username. I have updated the README can you check if it is clear? let me know if it works for you.

from wetty.

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.