This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]