From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23248 invoked by alias); 11 Aug 2011 21:33:57 -0000 Received: (qmail 23239 invoked by uid 22791); 11 Aug 2011 21:33:56 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-vx0-f171.google.com (HELO mail-vx0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Aug 2011 21:33:39 +0000 Received: by vxh13 with SMTP id 13so2552972vxh.2 for ; Thu, 11 Aug 2011 14:33:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.33.36 with SMTP id o4mr113141vdi.324.1313098418991; Thu, 11 Aug 2011 14:33:38 -0700 (PDT) Received: by 10.52.108.39 with HTTP; Thu, 11 Aug 2011 14:33:38 -0700 (PDT) Reply-To: gphelps@ucmerced.edu In-Reply-To: References: Date: Thu, 11 Aug 2011 21:33:00 -0000 Message-ID: Subject: Re: SSHD Issue Windows 2003 64 bit From: Gary To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00252.txt.bz2 Created the passwd and group files from: /bin/mkpasswd -l -c > /etc/passwd /bin/mkgroup -> l -c > /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe wrote: > * 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: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > --=20 Gary Phelps -- 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