Re: SSHd configuration problems (System error 1376)

2015-01-07 Thread Andrey Repin
Greetings, Corinna Vinschen! Speaking of ssh-host-config, how to specify domain user to run SSHD, while setting up the service through script? (Yes, I'm experimenting with snapshot.) -- WBR, Andrey Repin (anrdae...@yandex.ru) 08.01.2015, <06:07> Sorry for my terrible english... -- Problem rep

Re: SSHd configuration problems (System error 1376)

2015-01-07 Thread Houder
Corinna wrote: > The aforementioned message is a result of a change in how the function > underlying `id' works. [snip] > The old getgroups iterated through the groups from /etc/groups, and then > checked for each group if its SID is available in the user's token. > > This behaviour only makes se

Re: svn-bisect no longer in subversion-tools

2015-01-07 Thread David Stacey
On 07/01/2015 18:14, David Rothenberger wrote: On 1/7/2015 7:18 AM, Ken Brown wrote: /usr/bin/svn-bisect is not in the current release of subversion-tools, but it's in the previous release. Is this a packaging oversight or a deliberate decision? It was an explicit decision by me, the package m

Re: [ANNOUNCEMENT] Updated: csih-0.9.8-3

2015-01-07 Thread Houder
> I just updated the csih service installation helper package to 0.9.8-3. > > This bugfix release is supposed to address the problem adding a user > account to the Administrators group if /etc/group contains a "root" > group. The script arbitrarily adding the "root" group will be changed > soon, t

Re: [ANNOUNCEMENT] Updated: base-cygwin-3.4-1

2015-01-07 Thread Houder
> I just updated the base-cygwin package to 3.4-1. > > The base-cygwin postinstall script will not add a root group to > /etc/group anymore. Euh ... well, all right (in case of 1.7.34 and beyond). Downloaded base-cygwin, looked at the bottom of 000-cygwin-post-install.sh # Create /etc/mtab as sy

Re: RFD: cygwin ACLs: NFS or POSIX model: ease in adapting to CIFS ACLs?

2015-01-07 Thread Corinna Vinschen
On Dec 21 15:25, Linda Walsh wrote: > I seem to remember that the cygwin ACL's were based on NFS acls not > the POSIX ACL's. No, they are POSIX ACLs with Solaris API. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT

[ANNOUNCEMENT] Updated: base-cygwin-3.4-1

2015-01-07 Thread Corinna Vinschen
I just updated the base-cygwin package to 3.4-1. The base-cygwin postinstall script will not add a root group to /etc/group anymore. Have fun, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat

Re: Bug in strftime %z (was: Possible defect in email.exe re: sent timestamp)

2015-01-07 Thread Corinna Vinschen
Hi Christian, thanks for the testcase! On Dec 19 19:44, Christian Franke wrote: > Richard DeFuria wrote: > >Hello, > > > >I noticed a defect in the latest cygwin email.exe tool. > > > >The defect is that the SENT timestamp is 1 hour off (i.e., one hour too > >"old" compared to the current system

[ANNOUNCEMENT] Updated: csih-0.9.8-3

2015-01-07 Thread Corinna Vinschen
I just updated the csih service installation helper package to 0.9.8-3. This bugfix release is supposed to address the problem adding a user account to the Administrators group if /etc/group contains a "root" group. The script arbitrarily adding the "root" group will be changed soon, too. Have

RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
Bruce said he could not see my edits. I'm posting from nabble and used the raw tags, so maybe that did not go through. Here they are again: $ diff -c cygwin-service-installation-helper.sh.orig cygwin-service-installation-helper.sh *** cygwin-service-installation-helper.sh.orig 2014-12-27 19:33:51

Re: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
cd /usr/share/csih Edit the cygwin-service-installation-helper.sh and change these two lines starting at line 2969: The use of the "-w" argument in getent and parsing the modified output fixed the "root" vs "Administrators" issue. There was still one more issue because the new users were not in

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)

2015-01-07 Thread Achim Gratz
Corinna Vinschen cygwin.com> writes: > > but that would produce some rather unwieldy and long paths for certain > > users. So, instead of specifying the users' home directory directly I > > would like to mount or auto-mount /home/≤user> to the actual (network) > > home directory. > > Hmm. That'

Re: Force "ls" to show .exe extension

2015-01-07 Thread Bob McGowan
On 1/7/15, 8:07 AM, "Paul" wrote: >Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >>Paul sent the following at Tuesday, January 06, 2015 7:12 PM >>> I'm wading through many files in two file trees. In particular, I'm >>> looking at corresponding directories in the two trees where "diff

Re: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread Bruce Halco
Could you be more specific about the changes you made? I'm not familiar enough with it for it to be obvious. Thanks. Bruce Halco On 01/07/2015 11:43 AM, craigmcd wrote: I had the same issue. It seems to be related to what /usr/bin/getent returns for the group name so that you end up trying to

Re: svn-bisect no longer in subversion-tools

2015-01-07 Thread David Rothenberger
On 1/7/2015 7:18 AM, Ken Brown wrote: > /usr/bin/svn-bisect is not in the current release of subversion-tools, > but it's in the previous release. Is this a packaging oversight or a > deliberate decision? It was an explicit decision by me, the package maintainer. The 1.7 release series had an svn

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)

2015-01-07 Thread Corinna Vinschen
On Dec 20 19:19, Achim Gratz wrote: > Corinna Vinschen writes: > > The major change in this new release will be the new method to read > > account (passwd and group) information from the Windows user databases > > directly, without the requirement to generate /etc/passwd and /etc/group > > files to

Re: SSHd configuration problems (System error 1376)

2015-01-07 Thread Corinna Vinschen
On Dec 29 11:30, Ken Brown wrote: > On 12/29/2014 9:07 AM, Ilya Dogolazky wrote: > > Hi Ken! > > > > I followed your advise: > > 1) Reinstalled windows again > > 2) Started setup_x86-64.exe from cygwin web site > > 3) Changed two things in the package list: > > a) Changed version of package cygw

RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
Forgot to add that you need to do this after making those changes: Clean up the mess ssh-host-config previously created: cygrunsrv --stop sshd cygrunsrv --remove sshd net user sshd /delete net user cyg_server /delete edit /etc/passwd and /etc/group to remove cyg_server and sshd rm -rf /etc/ssh* s

RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
I had the same issue. It seems to be related to what /usr/bin/getent returns for the group name so that you end up trying to add to the group "root" rather than "Administrators". I had to hack /usr/share/csih/cygwin-service-installation-helper.sh in a couple of places to finally make it work for me

Re: gitk requires font-adobe-dpi75. Adam? Yaakov?

2015-01-07 Thread Houder
> On Wed, Jan 07, 2015 at 03:28:51PM +0100, Houder wrote: >> Just a hint ... (for the next release, perhaps) >> [snip] >> gitk will crash (silently), unless I have font-adobe-dpi75 installed as well >> ... >> >> gitk does NOT require font-adobe-dpi75 in setup.ini, but apparently it is >> required

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >Paul sent the following at Tuesday, January 06, 2015 7:12 PM >> I'm wading through many files in two file trees. In particular, I'm >> looking at corresponding directories in the two trees where "diff >> -qr" revealed differences. I want th

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Andrey Repin yandex.ru> writes: >> I'm wading through many files in two file trees. In particular, >> I'm looking at corresponding directories in the two trees where >> "diff -qr" revealed differences. I want the absolute truth of what >> the filename is with minimal distrations about how to ach

Re: Force

2015-01-07 Thread Paul
Eric Blake redhat.com> writes: > alias xargs='xargs ' > alias ls='ls --append-exe' > find -pa pdfcrop | xargs ls > > will execute 'ls --append-exe', but > > alias xargs='xargs ' > alias ls='ls --append-exe' > find -pa pdfcrop -print0 | xargs -0 ls > > will not, unless you also: > > alias -- -0

svn-bisect no longer in subversion-tools

2015-01-07 Thread Ken Brown
/usr/bin/svn-bisect is not in the current release of subversion-tools, but it's in the previous release. Is this a packaging oversight or a deliberate decision? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: ht

Re: gitk requires font-adobe-dpi75. Adam? Yaakov?

2015-01-07 Thread Adam Dinwoodie
On Wed, Jan 07, 2015 at 03:28:51PM +0100, Houder wrote: > Just a hint ... (for the next release, perhaps) > > gitk (i.e tcl-tk) requires an "x-server" (operational dependency). For that > reason, I > have xorg-server installed (which includes the XWin command). > > XWin (which provides me the re

Re: Windows Services control - start-stop-restart

2015-01-07 Thread Kizito Porta Balanyà
2015-01-07 13:54 GMT+01:00 Marco Atzeri : > On 1/7/2015 1:35 PM, Simao Pereira wrote: >> >> Hello to Cygwin Community >> >> i just started using CygWin on my job, and since it has a Windows culture, >> there is not a native Linux/Unix Plataform. >> so, in order to bring some power to the system i h

gitk requires font-adobe-dpi75. Adam? Yaakov?

2015-01-07 Thread Houder
Hi Adam, Just a hint ... (for the next release, perhaps) gitk (i.e tcl-tk) requires an "x-server" (operational dependency). For that reason, I have xorg-server installed (which includes the XWin command). XWin (which provides me the required "x-server") is invoked as follows: XWin --multiw

RE: Force "ls" to show .exe extension

2015-01-07 Thread cyg Simple
> From: Tom Robinson > > If you don't want to specify the extension, can you specify as asterisk? > > [3236 CBGSAS04:~/Documents]$ touch name.exe > > [3237 CBGSAS04:~/Documents]$ ls -l name > -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name > > [3238 CBGSAS04:~/Documents]$ ls -l name.exe

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003

2015-01-07 Thread Angelo Graziosi
Marco Atzeri wrote: > If re-installation created new SID's for you machine, than the old SID stored > in the USB STICK file descriptors are not recognized. Ugh! I guess it is as Windows reinstallation works… > probably chown / chgrp will be helpful What I did.. ‘chown -R —reference= …’ as admin

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003

2015-01-07 Thread Marco Atzeri
On 1/7/2015 2:05 PM, Angelo Graziosi wrote: Corinna Vinschen wrote: I released another TEST version of the next upcoming Cygwin release. The version number is 1.7.34-003. For almost an year I have used, on Win7 U 64 and Cygwin 64, an USB key (to backup my Cygwin HOME), formatted NTFS, both

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003

2015-01-07 Thread Angelo Graziosi
Corinna Vinschen wrote: > I released another TEST version of the next upcoming Cygwin release. > The version number is 1.7.34-003. > For almost an year I have used, on Win7 U 64 and Cygwin 64, an USB key (to backup my Cygwin HOME), formatted NTFS, both with Cygwin 1.7.33 (i.e. using /etc/{group,

Re: Windows Services control - start-stop-restart

2015-01-07 Thread Marco Atzeri
On 1/7/2015 1:35 PM, Simao Pereira wrote: Hello to Cygwin Community i just started using CygWin on my job, and since it has a Windows culture, there is not a native Linux/Unix Plataform. so, in order to bring some power to the system i have installed cygwin. now my problem: after implementing m

Windows Services control - start-stop-restart

2015-01-07 Thread Simao Pereira
Hello to Cygwin Community i just started using CygWin on my job, and since it has a Windows culture, there is not a native Linux/Unix Plataform. so, in order to bring some power to the system i have installed cygwin. now my problem: after implementing my routines (bash scripting for handling and