delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/16/18:27:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=VaHEwPmvA762GDVT
yawTq5Ziz4Uhvdi7xPsBQJP7XkvNbWqaYTjrBUg+T8HhStCTiU2q37S6m0tGF6eL
YsqZNrBtYHGXWEibtvJn+WBRShQEu8LBZTQzzEe8FpbYJceH4lGRPiHPufnpi4BK
GPL6q71ba6NnjbLqhHikBb8agCU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=YBZqVF9FPy6mMFTnDLyrty
szptM=; b=qtw/JS9F/C+h+vaxZcAQAblOaSraik+mxUX1OVyr5DxHGYSAcG35zH
70kf/6wfq3qKYW9gudLbYtgtq6H8Sqxhg6HCR2x05WdNskqOTZD0+fZGkDRHkaHV
Ieakwdv6/5jJNn79vNUQKd8l0InXFfyxMI2oRhfFbdTrdOFjnbA8I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,EXECUTABLE_URI,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=no version=3.3.2
MIME-Version: 1.0
X-Received: by 10.229.139.72 with SMTP id d8mr1069112qcu.26.1376692043245; Fri, 16 Aug 2013 15:27:23 -0700 (PDT)
In-Reply-To: <CACapN80WLvLq1fegnOB2Yn+QhnWumC=Rp1zgynQv=LCK4VtASA@mail.gmail.com>
References: <CACapN80WLvLq1fegnOB2Yn+QhnWumC=Rp1zgynQv=LCK4VtASA AT mail DOT gmail DOT com>
Date: Fri, 16 Aug 2013 18:27:23 -0400
Message-ID: <CACapN838gmA2_bY=mhuc-Jw6bSLmOXkOQ_1d1KiSdKF9YdYPcQ@mail.gmail.com>
Subject: Re: Cygwin 1.7.23 / OpenSSH 6.2p2 fails to allocate a pty, because it fails to seteuid on Windows 2008r2
From: Greg Swallow <gswallow AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r7GMRhF2002165

I tried the 32-bit version.  I tried older versions of Cygwin (but not
very hard).

I checked the permissions of the cyg_server account with
editrights.exe.  They're good.  I installed a newer version of mintty.
 That failed.  I may try it again in case I downloaded the wrong
mintty.

I stopped running /usr/sbin/sshd -dd on the command line and I
adjusted LogLevel in /etc/sshd_config to DEBUG.  Then I re-ran the
service and I can see debug output in the Windows Application Log.
The PTY is being generated, but when I run the test ruby script,
mentioned earlier, I still get nothing back -- *usually* -- when I
request a PTY.  If I don't request a PTY, then the results of a simple
command (echo hi) come back over the SSH session, as expected, every
single time I run the test script.

Randomly, running my test script and requesting a PTY succeeds.  I am
rarely able to reproduce it.

If I switch my testing script to hit a Linux box, and I request a PTY,
it works ok.  I see a /dev/pts/2 device get created on the linux box,
mode 0620, and then it disappears.  I get the results of the command
back via SSH.

If I switch the testing script to hit Cygwin, I see a /dev/ptyX device
get created in /dev, mode 0622, and it disappears as well.  I know
that the pty generation is happening as it should but maybe it's the
wrong permissions?

Screenshot of /dev/pty2 device creation / disappearance follows below:

http://imgur.com/WlLuSiT

Finally, I run this on the cygwin box:

while true ; do cat /dev/ptyX 2> /dev/null ; done

Whenever I run my test script, the pty is created, the contents of the
device end up being "Hangup," and then the results that are passed
back to my SSH client are empty.  When I compare on a linux SSH
server, the contents of the device remain clean and -- again -- I get
a "hi" back over the wire.

On Thu, Aug 15, 2013 at 2:59 PM, Greg Swallow <gswallow AT gmail DOT com> wrote:
> Hi,
>
> I am trying to build a Windows 2008r2 base box with Packer, and then
> bootstrap clones of that box using Chef.  I'm stumbling on Cygwin and
> OpenSSH.
>
> The automated install procedure, when I run Packer, does this:
>
>
> @echo off
> REM http://webcache.googleusercontent.com/search?q=cache:SjoPPpuQxuoJ:www.tcm.phy.cam.ac.uk/~mr349/cygwin_install.html+install+cygwin+ssh+commandline&cd=2&hl=nl&ct=clnk&gl=be&source=www.google.be
>
> cmd /c powershell.exe -command "$webClient = New-Object
> System.Net.WebClient ;
> $webClient.DownloadFile('http://cygwin.com/setup-x86_64.exe',
> $env:TEMP + '/cygwin-setup-x86_64.exe')"
>
> REM goto a temp directory
> cd %TEMP%
>
> REM run the installation
> cmd /c cygwin-setup-x86_64.exe -N -n -q -P openssh,cygrunsrv -s
> http://cygwin.cybermirror.org
>
> REM clear out straggler SSH daemons
> %SystemDrive%\cygwin64\bin\bash -c 'PATH=/usr/local/bin:/usr/bin:/bin
> cygrunsrv -R sshd'
>
> REM not sure this is necessary
> cmd /c %SystemDrive%\cygwin64\bin\bash -c
> 'PATH=/usr/local/bin:/usr/bin:/bin mkgroup
> -l'>%SystemDrive%\cygwin64\etc\group
> cmd /c %SystemDrive%\cygwin64\bin\bash -c
> 'PATH=/usr/local/bin:/usr/bin:/bin mkpasswd
> -l'>%SystemDrive%\cygwin64\etc\passwd
>
> REM set up sshd service
> %SystemDrive%\cygwin64\bin\bash -c 'PATH=/usr/local/bin:/usr/bin:/bin
> /usr/bin/ssh-host-config -y -w "redacted"'
>
> REM configure cyglsa
> REM %SystemDrive%\cygwin64\bin\bash -c
> 'PATH=/usr/local/bin:/usr/bin:/bin /usr/bin/cyglsa-config -y'
>
> REM enable firewall
> cmd /c netsh advfirewall firewall add rule name="SSH" protocol=TCP
> dir=in localport=22 action=allow enable=yes
>
> net start sshd
>
> I test it with this:
>
> 1.#!/usr/bin/env ruby
> 2.
> 3.require 'net/ssh'
> 4.require 'net/ssh/multi'
> 5.
> 6.user_name = "redacted"
> 7.user_pass = "redacted"
> 8.my_ticket = { "servers" => [ "172.16.125.191" ] }
> 9.
> 10.Net::SSH::Multi.start do |session|
> 11.
> 12.  # define the servers we want to use
> 13.  my_ticket['servers'].each do |session_server|
> 14.    session.use session_server, :user =>  user_name , :password => user_pass
> 15.  end
> 16.
> 17.  # execute commands on all servers
> 18.  session.open_channel do |channel|
> 19.    # This fails and is not caught.
> 20.    channel.request_pty
> 21.    channel.exec 'echo hi' do |chan, success|
> 22.      raise ArgumentError, "Cannot execute command" unless success
> 23.      # This never happens on Cygwin but it happens on Linux.
> 24.      channel.on_data do |ichannel, data|
> 25.        raise ArgumentError, "wtf?" if data.nil?
> 26.        puts data
> 27.      end
> 28.      channel.on_extended_data do |ch, type, data|
> 29.        puts STDERR "STDERR" + data
> 30.      end
> 31.      channel.on_request "exit-status" do |ichannel, data|
> 32.        puts data.read_long
> 33.      end
> 34.   end
> 35.  end
> 36.
> 37.  # run the aggregated event loop
> 38.  puts "looping."
> 39.  session.loop
> 40.end
>
> When I log in as the "privileged server" account (the cyg_server
> account), and I run:
>
> start -> run -> cmd
> net stop sshd
> c:\cygwin64\bin\bash
> export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
> /usr/sbin/sshd -dd
>
> I get:
>
> debug2: load_server_config: filename /etc/sshd_config
> debug2: load_server_config: done config len = 256
> debug2: parse_server_config: config /etc/sshd_config len 256
> debug1: sshd version OpenSSH_6.2, OpenSSL 1.0.1e 11 Feb 2013
> debug1: read PEM private key done: type RSA
> debug1: private host key: #0 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #1 type 2 DSA
> debug1: read PEM private key done: type ECDSA
> debug1: private host key: #2 type 3 ECDSA
> debug1: rexec_argv[0]='/usr/sbin/sshd'
> debug1: rexec_argv[1]='-dd'
> debug2: fd 3 setting O_NONBLOCK
> debug1: Bind to port 22 on ::.
> Server listening on :: port 22.
> debug2: fd 4 setting O_NONBLOCK
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> debug1: fd 5 clearing O_NONBLOCK
> debug1: Server will not fork when running in debugging mode.
> debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
> debug1: inetd sockets after dupping: 3, 3
> Connection from 172.16.125.1 port 59918
> debug1: Client protocol version 2.0; client software version
> Ruby/Net::SSH_2.6.8 x86_64-darwin12.3.0
> debug1: no match: Ruby/Net::SSH_2.6.8 x86_64-darwin12.3.0
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.2
> debug2: fd 3 setting O_NONBLOCK
> debug2: Network child is on pid 2736
> debug1: list_hostkey_types: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 [preauth]
> debug1: SSH2_MSG_KEXINIT sent [preauth]
> debug1: SSH2_MSG_KEXINIT received [preauth]
> debug2: kex_parse_kexinit:
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> [preauth]
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 [preauth]
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm AT openssh DOT com,aes256-gcm AT openssh DOT com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc AT lysator DOT liu DOT se
> [preauth]
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm AT openssh DOT com,aes256-gcm AT openssh DOT com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc AT lysator DOT liu DOT se
> [preauth]
> debug2: kex_parse_kexinit:
> hmac-md5-etm AT openssh DOT com,hmac-sha1-etm AT openssh DOT com,umac-64-etm AT openssh DOT com,umac-128-etm AT openssh DOT com,hmac-sha2-256-etm AT openssh DOT com,hmac-sha2-512-etm AT openssh DOT com,hmac-ripemd160-etm AT openssh DOT com,hmac-sha1-96-etm AT openssh DOT com,hmac-md5-96-etm AT openssh DOT com,hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,umac-128 AT openssh DOT com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
> [preauth]
> debug2: kex_parse_kexinit:
> hmac-md5-etm AT openssh DOT com,hmac-sha1-etm AT openssh DOT com,umac-64-etm AT openssh DOT com,umac-128-etm AT openssh DOT com,hmac-sha2-256-etm AT openssh DOT com,hmac-sha2-512-etm AT openssh DOT com,hmac-ripemd160-etm AT openssh DOT com,hmac-sha1-96-etm AT openssh DOT com,hmac-md5-96-etm AT openssh DOT com,hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,umac-128 AT openssh DOT com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
> [preauth]
> debug2: kex_parse_kexinit: none,zlib AT openssh DOT com [preauth]
> debug2: kex_parse_kexinit: none,zlib AT openssh DOT com [preauth]
> debug2: kex_parse_kexinit:  [preauth]
> debug2: kex_parse_kexinit:  [preauth]
> debug2: kex_parse_kexinit: first_kex_follows 0  [preauth]
> debug2: kex_parse_kexinit: reserved 0  [preauth]
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> [preauth]
> debug2: kex_parse_kexinit:
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> [preauth]
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,idea-cbc,none,arcfour128,arcfour256,arcfour,aes128-ctr,aes192-ctr,aes256-ctr,camellia128-cbc,camellia192-cbc,camellia256-cbc,camellia128-cbc AT openssh DOT org,camellia192-cbc AT openssh DOT org,camellia256-cbc AT openssh DOT org,camellia128-ctr,camellia192-ctr,camellia256-ctr,camellia128-ctr AT openssh DOT org,camellia192-ctr AT openssh DOT org,camellia256-ctr AT openssh DOT org,cast128-ctr,blowfish-ctr,3des-ctr
> [preauth]
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,idea-cbc,none,arcfour128,arcfour256,arcfour,aes128-ctr,aes192-ctr,aes256-ctr,camellia128-cbc,camellia192-cbc,camellia256-cbc,camellia128-cbc AT openssh DOT org,camellia192-cbc AT openssh DOT org,camellia256-cbc AT openssh DOT org,camellia128-ctr,camellia192-ctr,camellia256-ctr,camellia128-ctr AT openssh DOT org,camellia192-ctr AT openssh DOT org,camellia256-ctr AT openssh DOT org,cast128-ctr,blowfish-ctr,3des-ctr
> [preauth]
> debug2: kex_parse_kexinit:
> hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none
> [preauth]
> debug2: kex_parse_kexinit:
> hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none
> [preauth]
> debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib [preauth]
> debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib [preauth]
> debug2: kex_parse_kexinit:  [preauth]
> debug2: kex_parse_kexinit:  [preauth]
> debug2: kex_parse_kexinit: first_kex_follows 0  [preauth]
> debug2: kex_parse_kexinit: reserved 0  [preauth]
> debug2: mac_setup: found hmac-sha1 [preauth]
> debug1: kex: client->server aes128-cbc hmac-sha1 none [preauth]
> debug2: mac_setup: found hmac-sha1 [preauth]
> debug1: kex: server->client aes128-cbc hmac-sha1 none [preauth]
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received [preauth]
> debug2: monitor_read: 0 used once, disabling now
> debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent [preauth]
> debug2: dh_gen_key: priv key bits set: 161/320 [preauth]
> debug2: bits set: 521/1024 [preauth]
> debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT [preauth]
> debug2: bits set: 509/1024 [preauth]
> debug2: monitor_read: 6 used once, disabling now
> debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent [preauth]
> debug2: kex_derive_keys [preauth]
> debug2: set_newkeys: mode 1 [preauth]
> debug1: SSH2_MSG_NEWKEYS sent [preauth]
> debug1: expecting SSH2_MSG_NEWKEYS [preauth]
> debug2: set_newkeys: mode 0 [preauth]
> debug1: SSH2_MSG_NEWKEYS received [preauth]
> debug1: KEX done [preauth]
> debug1: userauth-request for user indigo_chef service ssh-connection
> method publickey [preauth]
> debug1: attempt 0 failures 0 [preauth]
> debug2: parse_server_config: config reprocess config len 256
> debug2: monitor_read: 8 used once, disabling now
> debug2: input_userauth_request: setting up authctxt for indigo_chef [preauth]
> debug2: input_userauth_request: try method publickey [preauth]
> debug1: test whether pkalg/pkblob are acceptable [preauth]
> debug2: monitor_read: 4 used once, disabling now
> debug1: temporarily_use_uid: 1000/513 (e=1002/513)
> seteuid 1000: Permission denied
> debug1: do_cleanup
> debug1: Killing privsep child 2736
>
> I have tried multiple options to ssh-host-config, namely:
>
> - passing the -c 'ntsec' (I also found that the tty and binmode
> options are deprecated).
>
> I found that that option is deprecated as of cygwin 1.7.2, in the change log.
>
> I have verified that the cyg_server account has the following
> permissions in the local security policy:
>
> - Create a token object
> - Log on as a service
> - Replace a process level token
> - Increase quota (actually, this permission was *NOT* granted but I
> granted it, to no effect)
>
> I checked the mailing list, and the issue I'm having isn't very
> common.  I found this thread:
>
> http://sourceware.org/ml/cygwin/2008-08/msg00142.html
>
> I read this, every letter:
>
> http://cygwin.com/cygwin-ug-net/ntsec.html
>
> I assume -- from checking other settings -- that method 1 of context
> switching is what the ssh-host-config script tries to set up.  I also
> tried method 2 (LSA agent).  I can get it to work *sometimes* when I
> use that.  Not sure if it was luck.
>
> I also read /usr/share/doc/Cygwin/openssh.README
>
> Most of this documentation, if I understand correctly, is slightly out
> of date due to the changes in recent versions of Cygwin?  (mainly the
> deprecation of CYGWIN environment variables, above).
>
> Output from cygcheck -s -r -v follows.  I would love to know what I'm
> doing wrong, if anything.  I have not tried the win32 version of
> Cygwin, nor have I tried an older version.  I suppose that's next, but
> in the meantime, if you have pointers, I'm all ears.
>
> Thanks.
>
>
> Cygwin Configuration Diagnostics
> Current System Time: Wed Aug 14 16:54:55 2013
>
> Windows 2008 R2 Server Standard Ver 6.1 Build 7601 Service Pack 1
>
> Path:   C:\cygwin64\usr\local\bin
>         C:\cygwin64\bin
>         C:\cygwin64\usr\sbin
>         C:\cygwin64\bin
>         C:\cygwin64\sbin
>
> Output from C:\cygwin64\bin\id.exe
> UID: 1000(provision) GID: 513(None)
> 513(None)              544(Administrators)    545(Users)
>
> SysDir: C:\Windows\system32
> WinDir: C:\Windows
>
> PWD = '/cygdrive/c/Windows/System32'
> HOME = '/home/provision'
>
> HOMEPATH = '\Users\provision'
> APPDATA = 'C:\Users\provision\AppData\Roaming'
> ProgramW6432 = 'C:\Program Files'
> TERM = 'cygwin'
> PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel'
> WINDIR = 'C:\Windows'
> PUBLIC = 'C:\Users\Public'
> USERDOMAIN = 'TEMPLATE'
> CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
> OS = 'Windows_NT'
> ALLUSERSPROFILE = 'C:\ProgramData'
> windows_tracing_flags = '3'
> windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
> TEMP = '/cygdrive/c/Users/INDIGO~1/AppData/Local/Temp'
> COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
> USERNAME = 'provision'
> PROCESSOR_LEVEL = '6'
> ProgramFiles(x86) = 'C:\Program Files (x86)'
> PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
> FP_NO_HOST_CHECK = 'NO'
> SYSTEMDRIVE = 'C:'
> USERPROFILE = 'C:\Users\provision'
> LOGONSERVER = '\\TEMPLATE'
> CommonProgramW6432 = 'C:\Program Files\Common Files'
> PROCESSOR_ARCHITECTURE = 'AMD64'
> LOCALAPPDATA = 'C:\Users\provision\AppData\Local'
> !C: = 'C:\Windows\System32'
> ProgramData = 'C:\ProgramData'
> SHLVL = '1'
> PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
> HOMEDRIVE = 'C:'
> PROMPT = '$P$G'
> COMSPEC = 'C:\Windows\system32\cmd.exe'
> TMP = '/cygdrive/c/Users/INDIGO~1/AppData/Local/Temp'
> SYSTEMROOT = 'C:\Windows'
> PROCESSOR_REVISION = '3a09'
> PROGRAMFILES = 'C:\Program Files'
> NUMBER_OF_PROCESSORS = '2'
> COMPUTERNAME = 'TEMPLATE'
> !ExitCode = '00000000'
> _ = '/usr/bin/cygcheck.exe'
>
> HKEY_CURRENT_USER\Software\Cygwin
> HKEY_CURRENT_USER\Software\Cygwin\Installations
>   (default) = '\??\C:\cygwin64'
> HKEY_CURRENT_USER\Software\Cygwin\Program Options
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
>   (default) = '\??\C:\cygwin64'
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
>   (default) = 'C:\cygwin64'
>
> obcaseinsensitive set to 1
>
> Cygwin installations found in the registry:
>   System: Key: e022582115c10879 Path: C:\cygwin64
>   User:   Key: e022582115c10879 Path: C:\cygwin64
>
> a:  fd             N/A    N/A
> c:  hd  NTFS     39999Mb  23% CP CS UN PA FC     Windows
> d:  cd  UDF       3020Mb 100% CP CS UN           GRMSXEVAL_EN_DVD
>
> C:\cygwin64      /          system  binary,auto
> C:\cygwin64\bin  /usr/bin   system  binary,auto
> C:\cygwin64\lib  /usr/lib   system  binary,auto
> cygdrive prefix  /cygdrive  user    binary,posix=0,auto
>
> Found: C:\cygwin64\bin\awk
> Found: C:\cygwin64\bin\awk
>  -> C:\cygwin64\bin\gawk.exe
> Found: C:\cygwin64\bin\bash.exe
> Found: C:\cygwin64\bin\bash.exe
> Found: C:\cygwin64\bin\cat.exe
> Found: C:\cygwin64\bin\cat.exe
> Found: C:\cygwin64\bin\cp.exe
> Found: C:\cygwin64\bin\cp.exe
> Not Found: cpp (good!)
> Not Found: crontab
> Found: C:\cygwin64\bin\find.exe
> Found: C:\cygwin64\bin\find.exe
> Not Found: gcc
> Not Found: gdb
> Found: C:\cygwin64\bin\grep.exe
> Found: C:\cygwin64\bin\grep.exe
> Found: C:\cygwin64\bin\kill.exe
> Found: C:\cygwin64\bin\kill.exe
> Not Found: ld
> Found: C:\cygwin64\bin\ls.exe
> Found: C:\cygwin64\bin\ls.exe
> Not Found: make
> Found: C:\cygwin64\bin\mv.exe
> Found: C:\cygwin64\bin\mv.exe
> Not Found: patch
> Found: C:\cygwin64\bin\perl.exe
> Found: C:\cygwin64\bin\perl.exe
> Found: C:\cygwin64\bin\rm.exe
> Found: C:\cygwin64\bin\rm.exe
> Found: C:\cygwin64\bin\sed.exe
> Found: C:\cygwin64\bin\sed.exe
> Found: C:\cygwin64\bin\ssh.exe
> Found: C:\cygwin64\bin\ssh.exe
> Found: C:\cygwin64\bin\sh.exe
> Found: C:\cygwin64\bin\sh.exe
> Found: C:\cygwin64\bin\tar.exe
> Found: C:\cygwin64\bin\tar.exe
> Found: C:\cygwin64\bin\test.exe
> Found: C:\cygwin64\bin\test.exe
> Found: C:\cygwin64\bin\vi.exe
> Found: C:\cygwin64\bin\vi.exe
> Not Found: vim
>
>    16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygattr-1.dll" v0.0 ts=2013-03-26 13:26
>    64k 2013/03/07 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygbz2-1.dll" v0.0 ts=2013-03-06 21:54
>     9k 2013/03/07 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygcrypt-0.dll" v0.0 ts=2013-03-07 04:29
>  1655k 2013/03/07 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygcrypto-1.0.0.dll" v0.0 ts=2013-03-07 07:01
>  1526k 2013/03/08 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb-5.3.dll" v0.0 ts=2013-03-08 02:55
>   111k 2013/03/08 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb_cxx-5.3.dll" v0.0 ts=2013-03-08 02:56
>   472k 2013/03/08 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb_sql-5.3.dll" v0.0 ts=2013-03-08 02:58
>   155k 2013/03/15 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygedit-0.dll" v0.0 ts=2013-03-15 04:44
>    53k 2013/05/06 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygformw-10.dll" v0.0 ts=2013-05-06 03:10
>    67k 2013/07/27 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggcc_s-seh-1.dll" v0.0 ts=2013-07-27 06:45
>    29k 2013/03/11 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggdbm-4.dll" v0.0 ts=2013-03-11 00:00
>    12k 2013/03/11 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggdbm_compat-4.dll" v0.0 ts=2013-03-11 00:01
>   443k 2013/08/04 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggmp-10.dll" v0.0 ts=2013-08-04 15:58
>    29k 2013/03/14 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
>                   "cyghistory7.dll" v0.0 ts=2013-03-14 06:14
>   998k 2013/03/07 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
>                   "cygiconv-2.dll" v0.0 ts=2013-03-06 22:03
>    38k 2013/06/24 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
>                   "cygintl-8.dll" v0.0 ts=2013-06-23 23:36
>     6k 2013/08/09 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
>                   "cyglsa64.dll" v0.0 ts=2013-08-09 04:04
>   129k 2013/03/07 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
>                   "cyglzma-5.dll" v0.0 ts=2013-03-07 05:20
>   102k 2013/03/19 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmagic-1.dll" v0.0 ts=2013-03-19 09:27
>    28k 2013/05/06 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmenuw-10.dll" v0.0 ts=2013-05-06 03:10
>   319k 2013/05/05 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmpfr-4.dll" v0.0 ts=2013-05-05 08:40
>    52k 2013/05/06 C:\cygwin64\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygncurses++w-10.dll" v0.0 ts=2013-05-06 03:14
>   295k 2013/05/06 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygncursesw-10.dll" v0.0 ts=2013-05-06 03:08
>    13k 2013/05/06 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpanelw-10.dll" v0.0 ts=2013-05-06 03:09
>   289k 2013/08/04 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpcre-1.dll" v0.0 ts=2013-08-04 18:51
>  1580k 2013/03/11 C:\cygwin64\bin\cygperl5_14.dll - os=4.0 img=0.0 sys=5.2
>                   "cygperl5_14.dll" v0.0 ts=2013-03-11 19:25
>    40k 2013/03/07 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpopt-0.dll" v0.0 ts=2013-03-07 07:01
>   193k 2013/03/14 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
>                   "cygreadline7.dll" v0.0 ts=2013-03-14 06:14
>   377k 2013/03/07 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygssl-1.0.0.dll" v0.0 ts=2013-03-07 07:01
>    11k 2013/07/27 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygssp-0.dll" v0.0 ts=2013-07-27 07:18
>   892k 2013/07/27 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
>                   "cygstdc++-6.dll" v0.0 ts=2013-07-27 07:02
>    51k 2013/05/06 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygticw-10.dll" v0.0 ts=2013-05-06 03:08
>    79k 2013/05/09 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
>                   "cygz.dll" v0.0 ts=2013-05-09 17:20
>  3070k 2013/08/09 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygwin1.dll" v0.0 ts=2013-08-09 04:05
>     Cygwin DLL version info:
>         DLL version: 1.7.23
>         DLL epoch: 19
>         DLL old termios: 5
>         DLL malloc env: 28
>         Cygwin conv: 181
>         API major: 0
>         API minor: 268
>         Shared data: 5
>         DLL identifier: cygwin1
>         Mount registry: 3
>         Cygwin registry name: Cygwin
>         Program options name: Program Options
>         Installations name: Installations
>         Cygdrive default prefix:
>         Build date:
>         Shared id: cygwin1S5
>
>    16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygattr-1.dll" v0.0 ts=2013-03-26 13:26
>    64k 2013/03/07 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygbz2-1.dll" v0.0 ts=2013-03-06 21:54
>     9k 2013/03/07 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygcrypt-0.dll" v0.0 ts=2013-03-07 04:29
>  1655k 2013/03/07 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygcrypto-1.0.0.dll" v0.0 ts=2013-03-07 07:01
>  1526k 2013/03/08 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb-5.3.dll" v0.0 ts=2013-03-08 02:55
>   111k 2013/03/08 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb_cxx-5.3.dll" v0.0 ts=2013-03-08 02:56
>   472k 2013/03/08 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
>                   "cygdb_sql-5.3.dll" v0.0 ts=2013-03-08 02:58
>   155k 2013/03/15 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygedit-0.dll" v0.0 ts=2013-03-15 04:44
>    53k 2013/05/06 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygformw-10.dll" v0.0 ts=2013-05-06 03:10
>    67k 2013/07/27 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggcc_s-seh-1.dll" v0.0 ts=2013-07-27 06:45
>    29k 2013/03/11 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggdbm-4.dll" v0.0 ts=2013-03-11 00:00
>    12k 2013/03/11 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggdbm_compat-4.dll" v0.0 ts=2013-03-11 00:01
>   443k 2013/08/04 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cyggmp-10.dll" v0.0 ts=2013-08-04 15:58
>    29k 2013/03/14 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
>                   "cyghistory7.dll" v0.0 ts=2013-03-14 06:14
>   998k 2013/03/07 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
>                   "cygiconv-2.dll" v0.0 ts=2013-03-06 22:03
>    38k 2013/06/24 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
>                   "cygintl-8.dll" v0.0 ts=2013-06-23 23:36
>     6k 2013/08/09 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
>                   "cyglsa64.dll" v0.0 ts=2013-08-09 04:04
>   129k 2013/03/07 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
>                   "cyglzma-5.dll" v0.0 ts=2013-03-07 05:20
>   102k 2013/03/19 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmagic-1.dll" v0.0 ts=2013-03-19 09:27
>    28k 2013/05/06 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmenuw-10.dll" v0.0 ts=2013-05-06 03:10
>   319k 2013/05/05 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
>                   "cygmpfr-4.dll" v0.0 ts=2013-05-05 08:40
>    52k 2013/05/06 C:\cygwin64\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygncurses++w-10.dll" v0.0 ts=2013-05-06 03:14
>   295k 2013/05/06 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygncursesw-10.dll" v0.0 ts=2013-05-06 03:08
>    13k 2013/05/06 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpanelw-10.dll" v0.0 ts=2013-05-06 03:09
>   289k 2013/08/04 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpcre-1.dll" v0.0 ts=2013-08-04 18:51
>  1580k 2013/03/11 C:\cygwin64\bin\cygperl5_14.dll - os=4.0 img=0.0 sys=5.2
>                   "cygperl5_14.dll" v0.0 ts=2013-03-11 19:25
>    40k 2013/03/07 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygpopt-0.dll" v0.0 ts=2013-03-07 07:01
>   193k 2013/03/14 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
>                   "cygreadline7.dll" v0.0 ts=2013-03-14 06:14
>   377k 2013/03/07 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygssl-1.0.0.dll" v0.0 ts=2013-03-07 07:01
>    11k 2013/07/27 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
>                   "cygssp-0.dll" v0.0 ts=2013-07-27 07:18
>   892k 2013/07/27 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
>                   "cygstdc++-6.dll" v0.0 ts=2013-07-27 07:02
>    51k 2013/05/06 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
>                   "cygticw-10.dll" v0.0 ts=2013-05-06 03:08
>    79k 2013/05/09 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
>                   "cygz.dll" v0.0 ts=2013-05-09 17:20
>  3070k 2013/08/09 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
>                   "cygwin1.dll" v0.0 ts=2013-08-09 04:05
>     Cygwin DLL version info:
>         DLL version: 1.7.23
>         DLL epoch: 19
>         DLL old termios: 5
>         DLL malloc env: 28
>         Cygwin conv: 181
>         API major: 0
>         API minor: 268
>         Shared data: 5
>         DLL identifier: cygwin1
>         Mount registry: 3
>         Cygwin registry name: Cygwin
>         Program options name: Program Options
>         Installations name: Installations
>         Cygdrive default prefix:
>         Build date:
>         Shared id: cygwin1S5
>
>
> Service             : sshd
> Display name        : CYGWIN sshd
> Current State       : Running
> Controls Accepted   : Stop
> Command             : /usr/sbin/sshd -D
> stdin path          : /dev/null
> stdout path         : /var/log/sshd.log
> stderr path         : /var/log/sshd.log
> Process Type        : Own Process
> Startup             : Automatic
> Dependencies        : tcpip
> Account             : .\cyg_server
>
>
> Cygwin Package Information
> Last downloaded files to: C:\Users\ADMINI~1\AppData\Local\Temp
> Last downloaded files from: http://cygwin.cybermirror.org/
>
> Package              Version         Status
> alternatives         1.3.30c-10      OK
> base-cygwin          3.3-1           OK
> base-files           4.1-1           OK
> bash                 4.1.11-1        OK
> bzip2                1.0.6-2         OK
> coreutils            8.15-3          OK
> csih                 0.9.7-1         OK
> cygrunsrv            1.42-1          OK
> cygutils             1.4.14-1        OK
> cygwin               1.7.23-1        OK
> dash                 0.5.7-4         OK
> diffutils            3.3-1           OK
> editrights           1.02-1          OK
> file                 5.13-1          OK
> findutils            4.5.11-1        OK
> gawk                 4.1.0-1         OK
> grep                 2.14-2          OK
> groff                1.22.2-1        OK
> gzip                 1.4-1           OK
> hostname             3.13-1          OK
> ipc-utils            1.0-2           OK
> less                 458-1           OK
> libattr1             2.4.46-1        OK
> libbz2_1             1.0.6-2         OK
> libcrypt0            1.1-1           OK
> libdb5.3             5.3.21-1        OK
> libedit0             20120311-1      OK
> libgcc1              4.8.1-3         OK
> libgdbm4             1.10-2          OK
> libgmp10             5.1.2-1         OK
> libiconv2            1.14-1          OK
> libintl8             0.18.1.1-3      OK
> liblzma5             5.0.4-1         OK
> libmpfr4             3.1.2-1         OK
> libncursesw10        5.9-4           OK
> libopenssl100        1.0.1e-1        OK
> libpcre1             8.33-1          OK
> libpopt0             1.16-1          OK
> libreadline7         6.2-1           OK
> libssp0              4.8.1-3         OK
> libstdc++6           4.8.1-3         OK
> login                1.10-10         OK
> man                  1.6g-2          OK
> mintty               1.2-beta1-1     OK
> openssh              6.2p2-1         OK
> perl                 5.14.4-1        OK
> rebase               4.4.0.1-1       OK
> run                  1.3.0-1         OK
> sed                  4.2.2-3         OK
> tar                  1.26-1          OK
> terminfo             5.9-4           OK
> tzcode               2013c-1         OK
> vim-minimal          7.3.1152-1      OK
> which                2.20-2          OK
> xz                   5.0.4-1         OK
> zlib0                1.2.8-1         OK
> Use -h to see help about each section

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019