delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/11/14:54:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: SSHD Issue Windows 2003 64 bit
Date: Thu, 11 Aug 2011 20:53:01 +0200
Lines: 38
Message-ID: <j218fd$b9n$1@dough.gmane.org>
References: <CAC8hJujitHJhJB1_uUpC1G9j0odvWefnXxLtZ6FZWkb15d5niQ AT mail DOT gmail DOT com> <CAEhDDbBf0-Wqm1hZnJ_FVDCyR_ywDpnXZn1tX7-W--xxT+HUaQ AT mail DOT gmail DOT com> <CAC8hJugRX3Rp1GFngEjfw3sX0uGo1sj0cXSyGhJTBN1L3xChvw AT mail DOT gmail DOT com> <j2033u$na$1 AT dough DOT gmane DOT org> <CAC8hJuj1SusCowLCO3-BHLaw_LJ8Ep-srEO2M6OqSBvHcKRCQQ AT mail DOT gmail DOT com> <j213qg$f01$1 AT dough DOT gmane DOT org> <CAC8hJuh+jOqeF+_uvw5V8AAb-Atf+8Qe1qznzwz=5vEwn=LRKg AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

* Gary (Thu, 11 Aug 2011 11:25:04 -0700)
> I've tried re-running the 000-cygwin-post-install.sh & receive no echo
> from the terminal, I've moved the passwd file (from my understanding
> outside the directory before running the post-install). My passwd file
> looks like this:
> 
> sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin
> 
> I can't find a passwd-grp.sh script.

Both files should actually be in /etc/postinstall and end in .sh.done

Just try running "/bin/mkpasswd -l -c > /etc/passwd" and "/bin/mkgroup -
l -c > /etc/group" manually.

> What should my passwd file look like?

On a Windows 7 non domain machine like this for instance (mind you, line 
breaks and I don't run sshd as service on my machine):
SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350-
3027294242-313109463-500:/home/Administrator:/bin/bash
Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242-
313109463-501:/home/Guest:/bin/bash
HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S-
1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser
$:/bin/bash
thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350-
3027294242-313109463-1001:/home/thorsten:/bin/bash
__vmware_user__:unused:1004:513:__vmware_user__,U-hombre
\__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/
__vmware_user__:/bin/bash


Thorsten


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019