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: Silently configure sshd fails via system account


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


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