Hello, I tried UseLogin, because ssh does not seem to propagate the tty controlling characters from the local to the remote tty and the login(1) on my system offers a config file to set them. Unfortunately, when using UseLogin, sshd does not run xauth. I can only guess that it does so, because it would have to drop privileges for doing so, but that makes UseLogin about useless. I am not subscribed to the list, so please send a cc of any replies to me. Michael
2.5.1p1 has been released, also we need to know what platform your attempting to do this on. - Ben On 19 Feb 2001 michael at moria.de wrote:> Hello, > > I tried UseLogin, because ssh does not seem to propagate the tty > controlling characters from the local to the remote tty and the login(1) > on my system offers a config file to set them. Unfortunately, when using > UseLogin, sshd does not run xauth. I can only guess that it does so, > because it would have to drop privileges for doing so, but that makes > UseLogin about useless. > > I am not subscribed to the list, so please send a cc of any replies to me. > > Michael >
> 2.5.1p1 has been released, also we need to know what platform your > attempting to do this on.I installed 2.5.1p1, but it does not fix the bug. I use Linux, but the problem is platform-independent, see session.c:1124, where it changes to the users UID, which it doesn't do if UseLogin is in effect, because login(1) does so. Line 1332 protects running xauth(1) from running as root, but that breaks X11 forwarding when using UseLogin. Michael