delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/20/15:14:49

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: sshd
Date: Thu, 20 Apr 2006 14:14:15 -0500
Lines: 39
Message-ID: <e28mi7$dpn$1@sea.gmane.org>
References: <4447CE4D DOT 7070204 AT elementcxi DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <4447CE4D.7070204@elementcxi.com>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Steve Kelem wrote:

> The instructions for sshd (/usr/share/doc/openssh/README.privsep)

The first instructions you should read are those in
/usr/share/doc/Cygwin/openssh.README; if you follow those you use
ssh-host-config and ssh-user-config which take care of setting everything e=
lse
so you don't have to ask what is below.

> include the following:
>=20
> You should do something like the following to prepare the privsep
> preauth environment:
>=20
>    # mkdir /var/empty
>    # chown root:sys /var/empty
>    # chmod 755 /var/empty
>    # groupadd sshd
>    # useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd
>=20
> I used XP's Manage/User Accounts to add a group called sshd.
> When I tried to create a user "sshd", it complained, saying that the
> group already exists.
>=20
> 1. Which package has "useradd" and "groupadd"?

None.

> 2. Is it possible to create sshd:sshd?

No, Windows doesn't allow a group name that is equal to a user name.

But to make things clear, you don't need to do any of the above if you use =
the
provided script.
--=20
Ren=E9 Berber


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

- Raw text -


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