Re: Configure second sshd on the same machine

2014-08-14 Thread Achim Gratz
Achim Gratz NexGo.DE> writes: > For building 32bit packages I've set up an additional installation on the > same server. To use it from the outside (like) I'm trying to configure a > second sshd on the server. So I've installed a cygserver23 and sshd32 > service with otherwise identical setup to

[ANNOUNCEMENT] Updated: ca-certificates-1.97-2

2014-08-14 Thread Yaakov Selkowitz
The following package has been updated for the Cygwin distribution: * ca-certificates-1.97-2 ca-certificates contains the Certificate Authority root certificates needed for verifying SSL certificates. This release provides empty anchors and blacklist directories for easier management of thir

[ANNOUNCEMENT] Updated: curl-7.37.1-1

2014-08-14 Thread Yaakov Selkowitz
The following packages have been updated for both arches: * curl-7.37.1-1 * libcurl4-7.37.1-1 * libcurl-devel-7.37.1-1 * libcurl-doc-7.37.1-1 cURL is a library and command line tool for transferring data with URL syntax, supporting numerous protocols, SSL certificates, HTTP POST, HTTP PUT, FTP

[ANNOUNCEMENT] Updated: man-db-2.6.7-2

2014-08-14 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution: * man-db-2.6.7-2 man-db is an implementation of the standard Unix documentation system accessed using the man command. It uses a Berkeley DB database in place of the traditional flat-text whatis databases. This release remo

Re: repo with CYGWIN=winsymlinks:nativestrict

2014-08-14 Thread Robert Bu
Thank you for your response. Adam Dinwoodie wrote on 2014/8/15 0:44: On Thu, Aug 14, 2014 at 07:38:33PM +0800, Robert Bu wrote: If I set CYGWIN=winsymlinks:lnk, repo works. However, Windows native Git tool, such as TortoiseGit cannot read the symlink file. I think it treats the symlink file as

Re: Configure second sshd on the same machine

2014-08-14 Thread Achim Gratz
Andrey Repin writes: > Did you checked the $PATH of a running server? 64- and 32-bit installations > should not cross $PATH's. (It's kinda obvious, but still important enough to > check thoroughly.) Yes I did. That is all correctly set up, the error seems to be a failure to allocate a tty (in deb

Re: Posting ITA/ITP

2014-08-14 Thread Achim Gratz
D. Boland writes: > I'm trying to post to gmane.os.cygwin.applications, but I get an NNTP error: > 'gmane.os.cygwin.applications is unidirectional' > > Should I post to another newsgroup? No, you need to subscribe and send your post via mail. Since I don't care about the mails I get since I read

Re: Configure second sshd on the same machine

2014-08-14 Thread Andrey Repin
Greetings, Achim Gratz! >> The only time I've seen that is when I start the server in debug mode. > That's not the problem. If I create /etc/nologin, I get the message back, > so even that part of the connection works. > But here's one step further: in debug mode I can actually run a single > c

Re: Posting ITA/ITP

2014-08-14 Thread Corinna Vinschen
On Aug 14 20:22, D. Boland wrote: > Hi group, > > I'm trying to post to gmane.os.cygwin.applications, but I get an NNTP error: > 'gmane.os.cygwin.applications is unidirectional' > > Should I post to another newsgroup? As maintainer you should be subscribed to the mailing list cygwin-apps AT cyg

Posting ITA/ITP

2014-08-14 Thread D. Boland
Hi group, I'm trying to post to gmane.os.cygwin.applications, but I get an NNTP error: 'gmane.os.cygwin.applications is unidirectional' Should I post to another newsgroup? Daniel -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentat

Re: Configure second sshd on the same machine

2014-08-14 Thread Achim Gratz
Larry Hall (Cygwin cygwin.com> writes: > The only time I've seen that is when I start the server in debug mode. That's not the problem. If I create /etc/nologin, I get the message back, so even that part of the connection works. But here's one step further: in debug mode I can actually run a si

Re: repo with CYGWIN=winsymlinks:nativestrict

2014-08-14 Thread Adam Dinwoodie
On Thu, Aug 14, 2014 at 07:38:33PM +0800, Robert Bu wrote: > If I set CYGWIN=winsymlinks:lnk, repo works. However, Windows native > Git tool, such as TortoiseGit cannot read the symlink file. I think > it treats the symlink file as a normal file and tries to parse the > file format as Git specifies

Re: Configure second sshd on the same machine

2014-08-14 Thread Larry Hall (Cygwin)
On 08/14/2014 12:27 PM, Achim Gratz wrote: For building 32bit packages I've set up an additional installation on the same server. To use it from the outside (like) I'm trying to configure a second sshd on the server. So I've installed a cygserver23 and sshd32 service with otherwise identical se

Configure second sshd on the same machine

2014-08-14 Thread Achim Gratz
For building 32bit packages I've set up an additional installation on the same server. To use it from the outside (like) I'm trying to configure a second sshd on the server. So I've installed a cygserver23 and sshd32 service with otherwise identical setup to their 64bit brethren and bumped the po

[ANNOUNCEMENT] Updated: cygrunsrv-1.60-1

2014-08-14 Thread Corinna Vinschen
I've updated the cygrunsrv package to 1.60-1. Changes and fixes: * This version *finally* prepends /bin to $PATH before starting the actual service process. Up to cygrunsrv-1.50-1, cygrunsrv appended /bin to $PATH, despite being claimed otherwise in the documentation. Have fun, Corinna --

Re: sshd default user PATH

2014-08-14 Thread Corinna Vinschen
On Aug 14 13:01, Achim Gratz wrote: > Achim Gratz NexGo.DE> writes: > > I've just tried using "-e PATH=/bin" in the sshd service startup, but > > PATH still seems to be hardcopied from Windows > > I did this wrong. I had to re-install the service, not just adding a > startup parameter. With "-e

Re: : How to run windows cmd without cygwin

2014-08-14 Thread Andrey Repin
Greetings, Haris Hashim! > I have been using cygwin for several years now and love it. > However at the moment I need to run windows command shell (i.e. the > cmd) clean and pure without cygwin. > For instance if I click start, type cmd and enter, I will open the cmd > shell. With cygwin install

Re: sshd default user PATH

2014-08-14 Thread Achim Gratz
Achim Gratz NexGo.DE> writes: > I've just tried using "-e PATH=/bin" in the sshd service startup, but > PATH still seems to be hardcopied from Windows I did this wrong. I had to re-install the service, not just adding a startup parameter. With "-e "PATH=/usr/bin" the resulting initial PATH from

Re: Fwd: How to run windows cmd without cygwin

2014-08-14 Thread Marco Atzeri
On 14/08/2014 14:41, Haris Hashim wrote: Hi all, I have been using cygwin for several years now and love it. However at the moment I need to run windows command shell (i.e. the cmd) clean and pure without cygwin. For instance if I click start, type cmd and enter, I will open the cmd shell. Wit

Re: sshd default user PATH

2014-08-14 Thread Andrey Repin
Greetings, Corinna Vinschen! > There's a problem. On Cygwin it's not /etc/default, but /etc/defaults. > Note the trailing "s". You're confusing /etc/default/ (a directory with default initial values for runtime/startup configurations of [mainly] daemons), which could and SHOULD be changed to sui

Fwd: How to run windows cmd without cygwin

2014-08-14 Thread Haris Hashim
Hi all, I have been using cygwin for several years now and love it. However at the moment I need to run windows command shell (i.e. the cmd) clean and pure without cygwin. For instance if I click start, type cmd and enter, I will open the cmd shell. With cygwin installed, this command shell can

Re: sshd default user PATH

2014-08-14 Thread Achim Gratz
Corinna Vinschen cygwin.com> writes: > On other systems sshd sets $PATH to "/usr/bin:/bin:/usr/sbin:/sbin", but > on Cygwin it doesn't change $PATH and just takes what it got from > cygrunsrv so as not to break the search path for DLLs not in the system > directories. I'm running Cygwin since yea

Re: sshd default user PATH

2014-08-14 Thread Corinna Vinschen
On Aug 14 13:20, Corinna Vinschen wrote: > On Aug 14 09:56, Achim Gratz wrote: > > I'm trying to figure out how sshd comes up with the PATH for the initial > > environment. Currently I get the Windows sytem PATH (converted to POSIX) > > and then /bin appended. This is no good, at least /bin shoul

repo with CYGWIN=winsymlinks:nativestrict

2014-08-14 Thread Robert Bu
Hi, If I set CYGWIN=winsymlinks:lnk, repo works. However, Windows native Git tool, such as TortoiseGit cannot read the symlink file. I think it treats the symlink file as a normal file and tries to parse the file format as Git specifies. (repo is a tool from Google for Android source managemen

Re: [ANNOUNCEMENT] New package: rng-tools-5-1

2014-08-14 Thread Corinna Vinschen
On Aug 14 12:09, Peter Rosin wrote: > On 2014-08-13 11:43, Corinna Vinschen wrote: > > On Aug 13 10:55, Peter Rosin wrote: > >> This seemed like something I could waste a little time on, and learn > >> something in the process. Which I did, so not all is lost. :-) > > Ok, I see how the above could

Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.32-1

2014-08-14 Thread Corinna Vinschen
Please don't hijack threads. On Aug 14 18:54, Robert Bu wrote: > Hi Corinna, > > Would you kindly test the usage of "repo" in Cygwin if > CYGWIN=winsymlinks:nativestrict? No, I won't. If it works with normal Cygwin symlinks it's ok from my POV. Patches are welcome, of course. See http://cygw

Re: sshd default user PATH

2014-08-14 Thread Corinna Vinschen
On Aug 14 09:56, Achim Gratz wrote: > I'm trying to figure out how sshd comes up with the PATH for the initial > environment. Currently I get the Windows sytem PATH (converted to POSIX) > and then /bin appended. This is no good, at least /bin should be at the > beginning of that PATH. On other s

Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.32-1

2014-08-14 Thread Robert Bu
Corinna Vinschen wrote on 2014/8/14 18:27: Hi Cygwin friends and users, I just released Cygwin 1.7.32-1. This release comes with a few bug fixes in header files and a slightly improved /proc/cpuinfo output, but otherwise it concentrates on a new feature which isn't readily user visible. The

[ANNOUNCEMENT] Updated: Cygwin 1.7.32-1

2014-08-14 Thread Corinna Vinschen
Hi Cygwin friends and users, I just released Cygwin 1.7.32-1. This release comes with a few bug fixes in header files and a slightly improved /proc/cpuinfo output, but otherwise it concentrates on a new feature which isn't readily user visible. The new feature requires a new GCC which will be r

Re: [ANNOUNCEMENT] New package: rng-tools-5-1

2014-08-14 Thread Peter Rosin
On 2014-08-13 11:43, Corinna Vinschen wrote: > On Aug 13 10:55, Peter Rosin wrote: >> This seemed like something I could waste a little time on, and learn >> something in the process. Which I did, so not all is lost. :-) Ok, I see how the above could be misread easily, since it appeared in the con

sshd default user PATH

2014-08-14 Thread Achim Gratz
I'm trying to figure out how sshd comes up with the PATH for the initial environment. Currently I get the Windows sytem PATH (converted to POSIX) and then /bin appended. This is no good, at least /bin should be at the beginning of that PATH. I've not been able to change this system-wide so far.