public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gary <gary.mphelps@gmail.com>
To: cygwin@cygwin.com
Subject: Re: SSHD Issue Windows 2003 64 bit
Date: Fri, 12 Aug 2011 21:55:00 -0000	[thread overview]
Message-ID: <CAC8hJuizF0+H7-NYZtyqsWEVoCNAHzUDtEx+LjhZfWaCTc-j+w@mail.gmail.com> (raw)
In-Reply-To: <CAC8hJugCb5CgsoKhMFc-E_utkd4mnYFxHGft_momhf_=KbLbUQ@mail.gmail.com>

Yeah that was a typo.. So my /etc/passwd & /etc/group file both have
the SYSTEM in them:
SYSTEM:S-1-5-18:18: - Group
SYSTEM:*:18:544:,S-1-5-18:: - passwd

Whenever I run 'ssh-host-config' I receive no echo from the terminal,
& I don't see 'cyg_srv' anywhere in my passwd file below:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-XEN-VM64\Administrator,S-1-5-21-693619687-569673921-3156715980-500:/home/Administrator:/bin/switch
Guest:unused_by_nt/2000/xp:501:513:U-XEN-VM64\Guest,S-1-5-21-693619687-569673921-3156715980-501:/home/Guest:/bin/switch
scadmin:unused_by_nt/2000/xp:1006:513:scadmin,U-XEN-VM64\scadmin,S-1-5-21-693619687-569673921-3156715980-1006:/home/scadmin:/bin/switch
SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft
Corporation,L=Redmond,S=Washington,C=US,U-XEN-VM64\SUPPORT_388945a0,S-1-5-21-693619687-569673921-3156715980-1001:/home/SUPPORT_388945a0:/bin/switch

On Thu, Aug 11, 2011 at 2:33 PM, Gary <gary.mphelps@gmail.com> wrote:
> 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
> <thorsten@thorstenkampe.de> 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:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
>>
>
>
>
> --
> Gary Phelps
>



-- 
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

  parent reply	other threads:[~2011-08-12 21:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09 20:48 Gary
2011-08-10  5:27 ` Csaba Raduly
2011-08-10 22:59   ` Gary
2011-08-10 23:20     ` Gary
2011-08-11  8:16     ` Thorsten Kampe
2011-08-11 16:41       ` Larry Hall (Cygwin)
2011-08-11 17:02       ` Gary
2011-08-11 17:34         ` Thorsten Kampe
2011-08-11 18:25           ` Gary
2011-08-11 18:54             ` Thorsten Kampe
2011-08-11 21:33               ` Gary
2011-08-11 23:20                 ` Larry Hall (Cygwin)
2011-08-12 21:55                 ` Gary [this message]
2011-08-15 21:11                   ` Gary
2011-08-15 21:46                     ` Larry Hall (Cygwin)
2011-08-15 23:11 ` Gary
2011-08-16  3:57   ` Larry Hall (Cygwin)
2011-08-16 22:25     ` Gary
2011-08-17  2:24       ` Larry Hall (Cygwin)
2011-08-19 21:53         ` Gary
2011-08-22 15:15           ` Larry Hall (Cygwin)
2011-08-22 17:12             ` Gary
2011-08-22 20:39               ` Larry Hall (Cygwin)
2011-08-23 18:55                 ` Gary
2011-08-24  2:35                   ` Larry Hall (Cygwin)
2011-08-19 21:59         ` Gary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC8hJuizF0+H7-NYZtyqsWEVoCNAHzUDtEx+LjhZfWaCTc-j+w@mail.gmail.com \
    --to=gary.mphelps@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=gphelps@ucmerced.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).