Problem with OpenSSH with UseLogin.. AGAIN!!!

Andrew Bartlett abartlet at pcug.org.au
Sat May 26 12:15:42 EST 2001


Krzysztof Oledzki wrote:
> 
> Hello,
> 
> By the 26th of May I will have been waiting for response for 17 days.
> I have posted this mail at 9 May 2001 20:38:58 and still this bug is not
> fixed and AFAIK no one have answered to this mail. I have to ask: why? ;-)
> 
> ---------- My OLD message ----------
> Hello,
> 
> I have just discoverd that ssh -T does not work with servers which have
> UseLogin option enabled. This happends becouse /bin/login can not work if
> there is no tty. To correct this, it is necessary to add:
> 
> options.use_login = 0;
> 
> at the top of the "do_exec_no_pty" function from the "session.c" file.
> ---------- My OLD message ----------
> 
> Best regards,
> 
>                                 Krzysztof Oledzki

Its not a bug, its a feature :-)  Seriously, if UseLogin is selected
then the sys-admin has dictated that all authentictions must pass though
/bin/login - usually for local secuirty reasons.  Disabling this kind of
defeats the purpose of the option.

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au



More information about the openssh-unix-dev mailing list