-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best way to replace sshd? #53
Comments
do you have the answers? |
Since the The FAQ explains a tricky way to accomplish running as root from the opened shell, assuming that the web server's user is part of the @ppbrown, if you have access via WebConsole to the Alas, most web server configurations will prevent access to Another source for some explanations: https://ubuntuforums.org/archive/index.php/t-1232715.html One possibility seems to be to use PAM authentication from within PHP, as discussed on this old thread in StackOverflow. It refers to a PECL extension, PAM. If you have the possibility to install it, it's worth a try (it's being kept up to date!); there are plenty of guides around there, some old, some new (a few links are provided in the StackOverflow thread; most are gone, but not all). |
I would ask this through forum or something, but dont see anything like that available.
Was wondering about the best way to close off a server to everything but https traffic, and then allow "login" via webconsole over https, instead of also running externally visible sshd
To be precise: rather than prompt for a "username and password" that is embedded in the script, prompt for actual unix level username and password.. and then give a tty session as THAT user, rather than the web user.
Maybe this could be added to the FAQ?
The text was updated successfully, but these errors were encountered: