Skip to content
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

Allow multiserver deployment as non-root user #1126

Open
ahmerds opened this issue Jan 17, 2025 · 0 comments
Open

Allow multiserver deployment as non-root user #1126

ahmerds opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ahmerds
Copy link

ahmerds commented Jan 17, 2025

What problem will this feature address?

Allowing full server best practice to disable root remote SSH login

Describe the solution you'd like

When attempting to deploy to a remote server using a non-root user, even one with full sudo privileges, the deployment fails without displaying any error messages or reasons. The process fails silently. However, if you switch the server's login user to root on the Dokploy dashboard settings and re-enable RootLogin, the deployment works as expected. This means that for now, root login must be enabled which may be problematic for some.

Describe alternatives you've considered

The workaround I consider for this is to check if sudo password prompts enabled for that user, if it's not it fails otherwise all sudo commands can be ran without the password prompt.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

@ahmerds ahmerds added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant