[mosh-users] Mosh User ID Error on Snow Leopard Server (10.6.8)

Jordan nospam at chaosserver.net
Wed Nov 21 17:32:44 EST 2012


Got it - the sleep wasn't working for me, but I found another solution.

I installed "reattach-to-user-namespace" and then used the following
command:
--server="reattach-to-user-namespace mosh-server"

$ whoami
jordan

BAM!

..Jordan


On Tue, Nov 20, 2012 at 3:02 PM, Quentin Smith <quentin at mit.edu> wrote:

> Hi Jordan,
>
> This is actually a bug in Snow Leopard - when the sshd that mosh uses to
> authenticate exits, launchd cleans up the Mach context and the mosh-server
> no longer has the ability to talk to lookupd/mDNSResponder for user
> information.
>
> We're tracking this at https://github.com/keithw/**mosh/issues/249<https://github.com/keithw/mosh/issues/249>
>
> As a very kludgey workaround, you can try using
>
> mosh --server="mosh-server; sleep 2" foo
>
> which will add a delay to hopefully avoid the race :/
>
> --Quentin
>
>
> On Tue, 20 Nov 2012, Jordan wrote:
>
>  I've successfully installed Mosh onto my older Mac running Snow Leopard
>> Server (10.6.8).
>>
>> The challenge that I am having is that once I am connected it looks like
>> the Mosh server (or connection) is not properly accessing OSX's
>> OpenDirectory.
>>
>> Under SSH:
>> jordan$ whoami
>> jordan
>> $ su - admin
>> Password:
>>
>>
>> Under Mosh:
>> $ whoami
>> 512
>> $ su admin
>> su: who are you?
>>
>>
>> Anyone have any clues if this is an environment configuration thing I
>> might be able to work around on the server?
>>
>> Thanks,
>> ..Jordan
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-users/attachments/20121121/645748ad/attachment.htm


More information about the mosh-users mailing list