This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Silently configure sshd fails via system account
- From: Lord Laraby <lord dot laraby at gmail dot com>
- To: Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Mon, 17 Mar 2014 18:32:38 -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>
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. I tried
that, but it screwed everything up. Of course, I used Administrators
actual group 513, not 544. I will fiddle with /etc/group and see what
I can come up with.
Ad far as the user name, if it requires cyg_server (not sshd), then I
have a serious issue with the other cygwin install as a service tool,
"cygserver."
The permissions on /var/empty failed everytime. I tried 755, 744, 711,
700, 655, 644, 611. and even 600. No dice.
This is the var/empty listing:
master@primaryserver ~
$ ls -ld /var/empty
drw-------+ 1 Administrators None 0 Mar 17 13:52 /var/empty
I also tried this:
master@primaryserver ~
$ ls -ld /var/empty
drw-------+ 1 sshd None 0 Mar 17 13:52 /var/empty
master@primaryserver ~
$ cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.
On Mon, Mar 17, 2014 at 5:56 PM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> Lord Laraby writes:
>
>> I cannot understand how to do what it wants in order to start. Any
>> help would be appreciated. I can send cygcheck.out if desired. This is
>> Windows 8.1 ver 6.3 -- 64-bit. Cygwin (64-bit) is installed in a USB
>> hard drive K:\cygwin and I recently did an update by running setup and
>> not selecting anything new. I have run sshd successfully on Win7
>> computers and older. This is a new one for me.
>
> Same platform as you. Here are my (possibly relevant) data for
> comparison:
>
>> ls -ld /var/empty
> drwxr-xr-x+ 1 cyg_server root 0 Jan 3 11:36 /var/empty/
>> egrep cyg_server /etc/passwd
> cyg_server:unused:1003:513:Privileged
> server,U-luther\cyg_server,S-1-5-21-3264347833-3381411623-2398912269-1003:/var/empty:/bin/bash
>> egrep root /etc/group
> root:S-1-5-32-544:0:
>> egrep S-1-5-32-544 /etc/passwd
> Administrators:*:544:544:,S-1-5-32-544::
>
> ht
> --
> Henry S. Thompson, School of Informatics, University of Edinburgh
> 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
> Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
> URL: http://www.ltg.ed.ac.uk/~ht/
> [mail from me _always_ has a .sig like this -- mail without it is forged spam]
>
> --
> 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
>
--
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