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

Cannot authenticate with sudo su - when following the example #1537

Open
Munius opened this issue Nov 13, 2024 · 0 comments
Open

Cannot authenticate with sudo su - when following the example #1537

Munius opened this issue Nov 13, 2024 · 0 comments

Comments

@Munius
Copy link

Munius commented Nov 13, 2024

I followed the example: Switch to root with "su - root" exactly, except that the command is "sudo su - #user#" and when I write the password to the stream it always returns invalid password.

I checked if I had the wrong password (copy and paste works when logging in with putty).
I checked the encoding and everything says UTF8. I manually set UTF8 encoding also in the connectionInfo when connecting.
I checked the string that is send in debug mode and it seems correct.

Anyone has any suggestion why it wouldn't work? Any setting I need to change?
Or does it simple only work with and su - #user# and not sudo su - #user#?

All the commands that do not need a user switch seem to work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant