Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to 'su' to another user? #7

Open
JoePython1 opened this Issue · 2 comments

2 participants

@JoePython1

Is it possible to "su - root" , type password and then execute commands?
It will be nice if this is part of the documentation.

@hugoduncan
Owner

Mm, not sure if possible or not. Normally I would set the target up for password-less sudo, which is then trivial to use. Is that a valid workaround?

@JoePython1

I understand that I can getaway with sudo for most tasks. But there some tasks/programs which do not allow the use of sudo and need a tty and interaction. I was wondering whether I can use clj-ssh for those purposes.
Thank you for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.