Re: Problem with sshd on W7 with 32bit cygwin 3.0

2019-02-19 Thread Enrico Forestieri
On Mon, Feb 18, 2019 at 09:54:50PM +0100, Corinna Vinschen wrote: > On Feb 18 17:04, Enrico Forestieri wrote: > > On Mon, Feb 18, 2019@03:11:11PM +0100, Corinna Vinschen wrote: > > > > > > Two workarounds for now: > > > > > > - Start sshd as 64 bit Cygwin process. > > > - Utilize

Very slow start of cygwin-3.0.0-1 (32-bit)

2019-02-19 Thread cygwin
Hello everyone, I am using Cygwin (32-bit) on 64-bit Windows 10 computer. This computer is member of a big AD domain. My account is member of a lot of AD groups. In my configuration there are no /etc/passwd and /etc/group files. The /etc/nsswitch.conf file is empty. I don't use cygserver. I

Sqlite 3.23 or better?

2019-02-19 Thread iWantToKeepAnon via cygwin
When will Cygwin update Sqlite to v3.23 or better (released in 2018/04)? As of Sqlite 3.23 TRUE/FALSE aliases were added. (I searched the archive and could not find this question.) Support in perl, php, etc... also desired. >From a local compile of 3.27.1: ``` $ ./sqlite3 sqlite> select

Re: Sqlite 3.23 or better?

2019-02-19 Thread iWantToKeepAnon via cygwin
On Tue, 2/19/19, Jan Nijtmans wrote: > Well, > I'm on it!    My guess: within a week or so. Great, thanks so much Jan! : )) -- "A smile is the shortest distance between two people." Victor Borge -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Sqlite 3.23 or better?

2019-02-19 Thread Jan Nijtmans
Op di 19 feb. 2019 om 15:49 schreef iWantToKeepAnon: > > When will Cygwin update Sqlite to v3.23 or better (released in 2018/04)? As > of Sqlite 3.23 TRUE/FALSE aliases were added. (I searched the archive and > could not find this question.) Support in perl, php, etc... also desired. Well,

Re: Problem with sshd on W7 with 32bit cygwin 3.0

2019-02-19 Thread Corinna Vinschen
On Feb 19 11:30, Enrico Forestieri wrote: > On Mon, Feb 18, 2019 at 09:54:50PM +0100, Corinna Vinschen wrote: > > On Feb 18 17:04, Enrico Forestieri wrote: > > > On Mon, Feb 18, 2019@03:11:11PM +0100, Corinna Vinschen wrote: > > > > > > > > Two workarounds for now: > > > > > > > > - Start sshd

please help me

2019-02-19 Thread Mesfin Amezene
I installed ns2.35 for windows 7 package i miss bashrc file and cygwin desktop shortcut shows that couldn't compute FAST_CWD pointer so please show me how to solve this problem and where i get bashrc file -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: please help me

2019-02-19 Thread cygwinautoreply
>I installed ns2.35 for windows 7 package i miss bashrc file and cygwin >desktop shortcut shows that couldn't compute FAST_CWD pointer so please >show me how to solve this problem and where i get bashrc file https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings -- Problem reports:

emacs-X11 unstable under cygwin 3.0.0-1

2019-02-19 Thread Eliot Moss
I have found that emacs-X11 (26.1-1) is unstable under cygwin 3.0.0-1. It works fine if I revert to cygwin 2.11.2-1. The symptom is random crashing, generally within the first minute of use. If I get some time I will try strace on it. I have not located a stack dump either - not sure if it's

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Bill Stewart
On Fri, Feb 15, 2019 at 3:48 PM Bill Stewart wrote: > This means that when I test getent using the name "Admin", Cygwin > finds the domain group: > > PS C:\> getent -w passwd admin > admin::DOMAINNAME\admin:S-1-5-21-nn-n-n-nn > > I get that this is by design,

Re: Get Cygwin home directory path for current user

2019-02-19 Thread Bill Stewart
On Fri, Feb 15, 2019 at 11:09 PM L A Walsh wrote: > Vince, I think What Bill is trying to ask is how does > the cygwin shell might do it (answer: look at the source! ;-)). Or rather more succinctly: "Cygwin, what is the path to the current user's home directory?" IMO it would be simpler for

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 8:47 AM Bill Stewart wrote: > (a) Is this correct? > > (b) Is there a particular reason this order was chosen (instead of > local first, then domain, i.e., the usual Windows order)? Please disregard. I forgot the reason was to have the same behavior as the Windows logon

Re: Zsh and wildcards

2019-02-19 Thread Brian Inglis
On 2019-02-19 13:42, Mike Brown wrote: > Zsh 5.3 under Win7-64 > I'm trying to do the following: > mv TSMUXER/*.ac3 TSMUXER/txmuxer.ac3 > The problem is the the * is not being expanded. I have no idea why not. > Any tips will be appreciated. The command line implies you have a .ac3 file

Re: ssh confused about home directory?

2019-02-19 Thread Thomas Wolff
Am 19.02.2019 um 21:08 schrieb Andrey Repin: Greetings, Boylan, Ross! I recently installed cygwin on Win 10, both 64 bit. When I run ssh in a cygwin shell it complains Could not create directory '/home/rdboylan/.ssh'. The /home directory is empty--that is, it has no rdboylan

Zsh and wildcards

2019-02-19 Thread Mike Brown
Zsh 5.3 under Win7-64 I'm trying to do the following: mv TSMUXER/*.ac3 TSMUXER/txmuxer.ac3 The problem is the the * is not being expanded. I have no idea why not. Any tips will be appreciated. MB -- e-mail: vid...@vidiot.com | vid...@vidiot.net/~\ The ASCII

Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 12:28 PM John Oxley wrote: > I started off with PowerShell but re-wrote to schtasks to make this post > shorter. Exactly the same thing happens: > > > Register-ScheduledTask -TaskName $taskName -Action $action -Trigger > > $trigger -RunLevel Highest -User foo -Password

Re: ssh confused about home directory?

2019-02-19 Thread Andrey Repin
Greetings, Boylan, Ross! > I recently installed cygwin on Win 10, both 64 bit. > When I run ssh in a cygwin shell it complains > Could not create directory '/home/rdboylan/.ssh'. > The /home directory is empty--that is, it has no rdboylan subdirectory. > My home directory appears to

Can't create scheduled task over ssh as current user

2019-02-19 Thread John Oxley
Hello all, I'm running a Windows 10 VM with a fairly recent installation of Cygwin (last month or so). If I ssh into the box as the user "foo", I cannot create a scheduled task for the user: foo@host $ schtasks /create /ru foo /rp fooPassword /sc HOURLY /tn foobar /tr 'echo foo' ERROR:

Re: antrun versus wsl versus cygwin

2019-02-19 Thread Franz Fehringer
Am 19.02.2019 um 00:36 schrieb Houder: > On Mon, 18 Feb 2019 13:15:02, Franz Fehringer wrote: > >> Am 18.02.2019 um 11:42 schrieb Houder: > [snip] > >>> Now show us the output of an antrun script, where the executable >>> is C:\Tools\Cygwin\bin\which and its argument: bash >> >> >> >> >>

Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 12:02 PM John Oxley wrote: > I'm running a Windows 10 VM with a fairly recent installation of Cygwin (last > month or so). > > If I ssh into the box as the user "foo", I cannot create a scheduled task for > the user: > > foo@host $ schtasks /create /ru foo /rp

ssh confused about home directory?

2019-02-19 Thread Boylan, Ross
I recently installed cygwin on Win 10, both 64 bit. When I run ssh in a cygwin shell it complains Could not create directory '/home/rdboylan/.ssh'. The /home directory is empty--that is, it has no rdboylan subdirectory. My home directory appears to be /cygdrive/c/Users/rdboylan; that

Re: ssh confused about home directory?

2019-02-19 Thread Boylan, Ross
[Answering my own question after better searching] Same question asked and answered in the thread starting https://cygwin.com/ml/cygwin/2016-06/msg00400.html. The answer is to set db_home in nsswitch.conf. Comment: the current behavior strikes me as unfortunate and surprising.

Re: Can't create scheduled task over ssh as current user

2019-02-19 Thread John Oxley
From: cygwin-ow...@cygwin.com on behalf of Bill Stewart Sent: 19 February 2019 19:15 To: cygwin@cygwin.com Subject: Re: Can't create scheduled task over ssh as current user On Tue, Feb 19, 2019 at 12:02 PM John Oxley wrote: >> I'm running a Windows 10 VM with

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Andrey Repin
Greetings, Bill Stewart! > On Fri, Feb 15, 2019 at 3:48 PM Bill Stewart wrote: >> This means that when I test getent using the name "Admin", Cygwin >> finds the domain group: >> >> PS C:\> getent -w passwd admin >> admin::DOMAINNAME\admin:S-1-5-21-nn-n-n-nn >>

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Corinna Vinschen
On Feb 18 23:09, Yaakov Selkowitz wrote: > Signed-off-by: Yaakov Selkowitz > --- > This is being used more frequently. Since we don't have Linux capabilities, > setuid/setgid is the only condition we have to check. I'm not sure this is right. The Linux man page claims "Secure execution is

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Corinna Vinschen
On Feb 19 12:43, Corinna Vinschen wrote: > On Feb 18 23:09, Yaakov Selkowitz wrote: > > Signed-off-by: Yaakov Selkowitz > > --- > > This is being used more frequently. Since we don't have Linux capabilities, > > setuid/setgid is the only condition we have to check. > > I'm not sure this is

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Yaakov Selkowitz
On Tue, 2019-02-19 at 12:59 +0100, Corinna Vinschen wrote: > On Feb 19 12:43, Corinna Vinschen wrote: > > On Feb 18 23:09, Yaakov Selkowitz wrote: > > > Signed-off-by: Yaakov Selkowitz > > > --- > > > This is being used more frequently. Since we don't have Linux > > > capabilities, > > >

Re: [Adopt] Iperf package [2.0.13].

2019-02-19 Thread Joel Johnson
I've been away from email access the past bit and am just getting back. I originally refrained from updating the package to the iperf2 fork since at the time it wasn't clearly endorsed. Now that the original project recommends it as an alternative to iperf3 I don't have any objection to it

Re: [Adopt] Iperf package [2.0.13].

2019-02-19 Thread Kaushik Battu
Thanks Joel. I have tried to upload 2.0.13 package. $ cygport iperf.cygport up >>> Uploading iperf-2.0.13-1.i686 >>> Running lftp sftp://cyg...@cygwin.com Password: cd ok, cwd=/x86/release Transferring file `iperf-2.0.13-1-src.tar.xz' Transferring file `iperf-2.0.13-1.hint' Transferring file

[newlib-cygwin] Cygwin: document secure_getenv

2019-02-19 Thread Yaakov Selkowitz
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a62b29bfec6d8c6cf3f285b4c7a5edcf4abf33e1 commit a62b29bfec6d8c6cf3f285b4c7a5edcf4abf33e1 Author: Yaakov Selkowitz Date: Tue Feb 19 14:34:18 2019 -0600 Cygwin: document secure_getenv Signed-off-by: Yaakov Selkowitz

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Corinna Vinschen
On Feb 19 11:27, Eric Blake wrote: > On 2/19/19 11:21 AM, Corinna Vinschen wrote: > > >> That said, while it is ideal to avoid squashing to NULL in situations > >> that are not security boundaries (as with your STC displaying HOME even > >> after seteuid() on Linux), I'm also okay if we filter

[newlib-cygwin] Cygwin: add secure_getenv

2019-02-19 Thread Yaakov Selkowitz
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=850705f92e3371bc0c56cee270327add84cd441a commit 850705f92e3371bc0c56cee270327add84cd441a Author: Yaakov Selkowitz Date: Mon Feb 18 23:06:11 2019 -0600 Cygwin: add secure_getenv Signed-off-by: Yaakov Selkowitz Diff: ---

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Eric Blake
On 2/19/19 10:58 AM, Yaakov Selkowitz wrote: >>> "Secure execution is required if one of the following conditions was >>> true when the program run by the calling process was loaded: [...]" >>> >>> Do we ever have this situation? We don't have any capability to make >>> real and effective user

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Eric Blake
On 2/19/19 11:21 AM, Corinna Vinschen wrote: >> That said, while it is ideal to avoid squashing to NULL in situations >> that are not security boundaries (as with your STC displaying HOME even >> after seteuid() on Linux), I'm also okay if we filter too aggressively >> (the way gnulib's fallback

[newlib-cygwin] Cygwin: sys/mount.h: fix comment

2019-02-19 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=dd415f1a8c0480303a38f8f4612430c201e967cc commit dd415f1a8c0480303a38f8f4612430c201e967cc Author: Corinna Vinschen Date: Tue Feb 19 19:34:40 2019 +0100 Cygwin: sys/mount.h: fix comment Signed-off-by: Corinna Vinschen

Re: [PATCH] Cygwin: add secure_getenv

2019-02-19 Thread Corinna Vinschen
On Feb 19 11:14, Eric Blake wrote: > On 2/19/19 10:58 AM, Yaakov Selkowitz wrote: > > >>> "Secure execution is required if one of the following conditions was > >>> true when the program run by the calling process was loaded: [...]" > >>> > >>> Do we ever have this situation? We don't have any