Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread Larry Hall (Cygwin)
On 05/31/2017 05:37 AM, Houder wrote: On Tue, 30 May 2017 21:28:41, "Larry Hall (Cygwin)" wrote: [snip] Cygwin's link to the Windows user ID is through the UID/SID mapping. In your case, you're apparently using /etc/passwd and so that's where the mapping happens. You can map the UID of a Cygw

dash is unable to start scripts from non-ASCII paths in non-UTF8 locale

2017-05-31 Thread Andrey Repin
Greetings, All! Start native console with login shell, :~ $ locale && mkdir тест && cd тест && printf '%s\n' '#!/bin/dash' 'echo "Works!"' > test.sh && ls -l test.sh LANG=ru_RU.CP866 LC_CTYPE="ru_RU.CP866" LC_NUMERIC="en_US" LC_TIME="ru_RU.CP866" LC_COLLATE="ru_RU.CP866" LC_MONETARY="ru_RU.CP866

Re: openssh: privilege separation no longer supported on Cygwin?

2017-05-31 Thread Brian Inglis
On 2017-05-31 13:52, Marco Atzeri wrote: > On 29/05/2017 11:48, Houder wrote: >> On 2017-05-29 10:39, Marco Atzeri wrote: >>> On 29/05/2017 07:23, Houder wrote: >> >> [snip] ... because, that is, I think, what I am seeing: - the userid of child sshd is still 'cyg_server' ... -

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread Andrey Repin
Greetings, Houder! > Anyone out there, who uses AD, in stead of /etc/{passwd,group}, Nobody here uses "/etc/{passwd,group}" anymore, except for very special cases. This is not related to AD. -- With best regards, Andrey Repin Wednesday, May 31, 2017 23:14:34 Sorry for my terrible english...

Re: Setup v2.879 - can not scroll package list

2017-05-31 Thread Andrey Repin
Greetings, Wayne Davison! > On Wed, May 31, 2017 at 2:48 AM, David Balažic wrote: >> it does not scroll the package list, instead it changes the selection >> in the mentioned drop down menu. > One thing you should be able to do to work around this is to go to the > mouse settings and enable the "

Re: Setup v2.879 - can not scroll package list

2017-05-31 Thread Vlado
On 31.5.2017 17:04, Wayne Davison wrote: On Wed, May 31, 2017 at 2:48 AM, David Balažic wrote: it does not scroll the package list, instead it changes the selection in the mentioned drop down menu. One thing you should be able to do to work around this is to go to the mouse settings and enable

Re: openssh: privilege separation no longer supported on Cygwin?

2017-05-31 Thread Marco Atzeri
On 29/05/2017 11:48, Houder wrote: On 2017-05-29 10:39, Marco Atzeri wrote: On 29/05/2017 07:23, Houder wrote: [snip] ... because, that is, I think, what I am seeing: - the userid of child sshd is still 'cyg_server' ... - and I get an elevated shell when I login ... Not what I expected ..

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread cyg Simple
On 5/31/2017 12:34 PM, Houder wrote: > On Wed, 31 May 2017 10:59:38, cyg Simple wrote: >> On 5/31/2017 10:16 AM, Houder wrote: >>> On Wed, 31 May 2017 09:27:02, cyg Simple wrote: >>> >>> [snip] All of this talk of /etc/passwd leads me to point you to https://cygwin.com/cygwin-ug-net/ntsec

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread Houder
On Wed, 31 May 2017 10:59:38, cyg Simple wrote: > On 5/31/2017 10:16 AM, Houder wrote: > > On Wed, 31 May 2017 09:27:02, cyg Simple wrote: > > > > [snip] > >> All of this talk of /etc/passwd leads me to point you to > >> https://cygwin.com/cygwin-ug-net/ntsec.html. > > > > cyg, > > > > Do you wa

Re: Setup v2.879 - can not scroll package list

2017-05-31 Thread Wayne Davison
On Wed, May 31, 2017 at 2:48 AM, David Balažic wrote: > it does not scroll the package list, instead it changes the selection > in the mentioned drop down menu. One thing you should be able to do to work around this is to go to the mouse settings and enable the "Scroll inactive windows when I hove

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread cyg Simple
On 5/31/2017 10:16 AM, Houder wrote: > On Wed, 31 May 2017 09:27:02, cyg Simple wrote: > > [snip] >> All of this talk of /etc/passwd leads me to point you to >> https://cygwin.com/cygwin-ug-net/ntsec.html. > > cyg, > > Do you want me to study that text a second, third, fourth or Xth time ...? >

Re: two installer questions

2017-05-31 Thread Jon Turney
On 31/05/2017 03:30, Lloyd Wood via cygwin wrote: 1. setting up new cygwin X server, got stuff installed by selecting xinit in installer and letting it pull things in. (oddly, selecting xterm instead does not pull in everything as I expected.) You need to amend your expectations. It's policy t

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE! -- minor correction

2017-05-31 Thread Houder
On Wed, 31 May 2017 16:16:38, Houder wrote: [snip] > Anyone out there, who uses AD, in stead of /etc/{passwd,group}, and is brave > enough to delete the sshd account? Is ssh still working? i.e. NOT from AD, but delete as an account (net user sshd /delete). Regards, Henri -- Problem reports:

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread Houder
On Wed, 31 May 2017 09:27:02, cyg Simple wrote: [snip] > All of this talk of /etc/passwd leads me to point you to > https://cygwin.com/cygwin-ug-net/ntsec.html. cyg, Do you want me to study that text a second, third, fourth or Xth time ...? However, let me take another angle now ... Active Dir

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread cyg Simple
On 5/31/2017 5:37 AM, Houder wrote: > On Tue, 30 May 2017 21:28:41, "Larry Hall (Cygwin)" wrote: > > [snip] >> Cygwin's link to the Windows user ID is through the UID/SID mapping. In >> your case, you're apparently using /etc/passwd and so that's where the >> mapping happens. You can map the UID

Re: Bug in lrzip 0.631-1 (32 bit version) with -d -o - options

2017-05-31 Thread David Balažic
This still doesn't work. All current versions, including cygwin 2.8.0-1. Result same as in above testcase. 64 bit version works fine. PS: Compressing the test.iso (or its already compressed version) in 32 bit environment with: lrzip -o doppel.lrz test.iso(.lrz) Gives: Unable to malloc buffer of

Re: ImageMagick is crashing

2017-05-31 Thread Marco Atzeri
On 31/05/2017 08:56, Axel Heinrici wrote: Hello, strace doesn't seem to work either. $ strace convert z06.png z06.jpg 0 [main] strace 8996 C:\cygwin64\bin\strace.exe: *** fatal error - Internal error: TP_NUM_W_BUFS too small: 50. 1341 [main] strace 8996 cygwin_exception::open_stackdu

Setup v2.879 - can not scroll package list

2017-05-31 Thread David Balažic
In the "Select Packages" part of the installer dialog, I selected in the "View" dropdown menu "Not Installed" and then tried to scroll thru the list using the mouse wheel. But it does not scroll the package list, instead it changes the selection in the mentioned drop down menu. Even after clicking

Re: openssh: privilege separation no longer supported on Cygwin? SURPRISE!

2017-05-31 Thread Houder
On Tue, 30 May 2017 21:28:41, "Larry Hall (Cygwin)" wrote: [snip] > Cygwin's link to the Windows user ID is through the UID/SID mapping. In > your case, you're apparently using /etc/passwd and so that's where the > mapping happens. You can map the UID of a Cygwin user to any valid Windows > SID

RE: Bug: bash -e misbehaves with several nested

2017-05-31 Thread Pavel Fedin
Hello! > $ ./prova_bash > Works: /cygdrive/e/cygwin/tmp > > $ cat prova_bash > #!/bin/bash -e > > DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" > echo Works: $DIR Ok, ok, ok... Yet another "find it yourself" problem :) I'll try to... Sorry for late reply, i tend to forget things...

Re: ImageMagick is crashing

2017-05-31 Thread Axel Heinrici
Hello,   this is a company computer, on which I don't have admin privileges. Though possible, I have to be frugal with provident reinstallations. I need a little higher level of certainty on the cause of these problems to ask the IT-department for another reinstallation. > comparing with mine I