On Tue, 06 Apr 2010 11:50:42 +0200 (CEST), Helmut Jarausch wrote:

> when maintaining a machine from remote I sometimes have to switch to
> a non-root user (whose password I don't want to know) to try something
> out.
> 
> For that, I log into that machine by  ssh -Y r...@....
> Now, how can I switch to user USER such that the X credentials
> are copied.

If you use key based authentication, you can log in directly as the user
without needing the password.


-- 
Neil Bothwick

Idaho - It's not the end of the world, but you can see it from there.

Attachment: signature.asc
Description: PGP signature

Reply via email to