On Mon, January 10, 2011 3:34 pm, Vadym Chepkov wrote:

>>>
>>> It was not an issue before. Did -t somehow got lost in ssh call?
>>>
>>
>> Yeah, I've removed it, because it was creating even bigger problems. If
>>  you want to use sudo you can't have requiretty option in sudoers
>> config file.
>
> Well, that's a bummer, requiretty is a "standard" setting in sudo shipped
> by Redhat/Fedora:
>
> #
> # Disable "ssh hostname sudo <cmd>", because it will show the password in
> clear. #         You have to run "ssh -t hostname sudo <cmd>".
> #
> Defaults    requiretty
>
>
> And I think it is a legitimate concern.

Because of internal reasons with the Java SSH library I'm using and the
way I am using it if I'd require the tty it would show the password in
clear and at the moment I don't have better solution for it.

>
>
>>
>> Anyway there's fix for all your other problems :)
>>
>>
>> http://oss.linbit.com/drbd-mc/dmctest-0.8.9.dev.2.jar
>>
>
>
> Well, almost :)
>
>
> DEBUG: Not using known_hosts file, because this is not a Linux.
> (drbd.utilities.SSH$AdvancedVerifier)
>
>
> So what it's not a Linux? :)

I am sorry to inform you, that you have a Mac :) Are you saying that there
is ~/.ssh/known_hosts on Mac? In that case I'll enable it.

Rasto


-- 
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to