When create session I enable x-forwarding (Connection->Ssh->X11 Enable X11 forwarding, enter win_host_ip).
on centos host i set environment variable
Code: Select all
export DISPLAY=win_host_ip:0.0
Code: Select all
admin ALL=(ALL) ALL
Code: Select all
PermitRootLogin yes
Which permissions user should have to use x-forwarding?
When admin account which is member of wheel group and has root sudo access remote putty ssh console starts with "$" sign, and only after sudo or su command console has "#" sign. When root logons remotely console starts with "#" sign.
How let admin user console start with "#" sign without sudo or su?