We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure if bug or i'm doing something wrong, switching to another user using sudo fails?
ssh_exec_wait(session, c('echo "mypassword!" | sudo -S su - user2'))
then when running the whoami still returns user1.
whoami
Any input welcome, thanks.
The text was updated successfully, but these errors were encountered:
I'm having the same problem, any advice on this would be greatly appreciated!
Sorry, something went wrong.
No branches or pull requests
Not sure if bug or i'm doing something wrong, switching to another user using sudo fails?
ssh_exec_wait(session, c('echo "mypassword!" | sudo -S su - user2'))
then when running the
whoami
still returns user1.Any input welcome, thanks.
The text was updated successfully, but these errors were encountered: