25 Jan
2015
25 Jan
'15
10:45
"Carlos E. R."
On 2015-01-23 19:02, Istvan Gabor wrote:
Hello:
I would like to help users by logging in through VNC session. Since the user doesn't have strong password I don't allow to log in the user through ssh. Instead I log in in my name and then su to that user and start the vncserver. Briefly:
ssh <user1> target.machine
user1@target> su user2
As a rule, I never do "su", but "su -". And on some circumstances, as Andrei said, "ssh user@localhost", works when su failed.
su -l does not create the /run/user/$UID directory, ssh to localhost does. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org