This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Apr 2006 14:14:15 -0500
- Subject: Re: sshd
- Openpgp: url=hkp://random.sks.keyserver.penguin.de
- References: <4447CE4D.7070204@elementcxi.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 else
so you don't have to ask what is below.
> include the following:
>
> You should do something like the following to prepare the privsep
> preauth environment:
>
> # 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
>
> 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.
>
> 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.
--
René 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/