I was quite desperate to get this going, and it seems I succeeded (well copied 
somebodies else’s work)

So in case somebody is curious, I’ll give a summary of what I did:

1. Follow slavishly these instructions:

https://ghc.haskell.org/trac/ghc/wiki/Building/Windows/SSHD

This was quite tricky for me as I still have to think which shell to use to be 
able to do what.
So I was switching between msys-shell, msys-shell as Windows Administrator, 
Windows-shell as Administrator (for nets-command, and - after cd-ing into 
cygwin/bin - for editrights), and I even changed some user settings in Computer 
Management/User-Group settings). I am sure there must be a more efficient way, 
but hey that’s how it worked for me.

2. That is not enough though. I had to add myself as user in /etc/passwd the 
way it is done in above instructions for the users cyg_server and sshd (maybe 
it can be done differently, but that’s how it worked for me). If you add the 
user like it is proposed there - I guess - the new msys user is linked  to the 
Windows account (and the implicit rights) of the same name. I hope that doesn’t 
have negative side effects for msys. The author of above steps probably had 
added himself in the past and then forgotten that this step is necessary. Ah, 
and: the last two entries in that new password-line must not point to empty, 
but to your home-folder /home/username and your shell interpreter: /bin/bash

Haha, now I can work on my Mac and have a door to a unixy Windows development 
system, very cool! And the sshd autostarts on Windows reboot!

Hey, we want ‘editrights' in msys2!! I can’t wait to delete that cygwin folder 
from my machine :D


Best
.r.


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to