This is the mail archive of the
mailing list for the Cygwin project.
Re: Silently configure sshd fails via system account
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Mar 2014 19:35:02 -0400
- Subject: Re: Silently configure sshd fails via system account
- Authentication-results: sourceware.org; auth=none
- References: <5307BB89 dot 80405 at cse dot yorku dot ca> <5307BDDA dot 4040309 at cygwin dot com> <530B6ED1 dot 2060003 at cse dot yorku dot ca> <CAG9p0OSzrhsqf+gZjduxU0bxzovPY31kDwH=gJ3ZUtHuj8iBZQ at mail dot gmail dot com> <f5bmwgowkuh dot fsf at troutbeck dot inf dot ed dot ac dot uk> <CAG9p0OT0282=+dGWuOjk2MxMSJX0E6irg-+hD9dE1vfqDLOVyA at mail dot gmail dot com> <f5bha6wwgty dot fsf at troutbeck dot inf dot ed dot ac dot uk>
- Reply-to: cygwin at cygwin dot com
On 3/17/2014 7:22 PM, Henry S. Thompson wrote:
Lord Laraby writes:
That's interesting. sshd-host-config gave me only sshd as a privileged
user name, cyg_server is already taken by a non-prvileged user
connected to the cygserver service.
Also, at no time does mkgroup create a group called root.
That suggests an earlier (Cygwin-install-time) error, doesn't it?
I should have said I did exactly _no_ group/permission by-hand
fiddling to get the setup I sent. All happened auto-magically as a
result of basic install. Looking at my download area, I see I
installed cygwin, cygrunsrv and openssh all as part of my initial
install. I can't immediately detect any sign of what initialisations
ran in what order -- /etc/sshd_config was built about an hour after
the downloads. . .
Right. '/etc/sshd_config' is built by 'ssh-host-config'. It will create
the 'sshd' user for those requesting privilege separation and 'cyg-server'
as the privileged user to run the 'sshd' service under. All this is done
as part of the 'ssh-host-config' script. If this script isn't run, then
obviously the 'sshd' service won't start. That's not say that it will
always just start when 'ssh-host-config' is run. But that's the intent
and the blueprint for debugging problems.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple