Re: DOS namespaces, accessible/walk-able as Admin via Cygwin?

2024-04-21 Thread Bill Stewart via Cygwin
On Sun, Apr 21, 2024 at 5:25 PM Dan Shelton wrote: On Sat, 20 Apr 2024 at 05:37, Brian Inglis via Cygwin > wrote: > > Under MS Windows you can use Sysinternals WinObj64 to browse the > hierarchy and > > objects. > > What is that? > Perhaps search for "winobj64" ?

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-20 Thread Bill Stewart via Cygwin
On Wed, Mar 20, 2024 at 5:40 AM Christian Franke wrote: Corinna Vinschen via Cygwin wrote: > > > For Cygwin apps, this occured when you built, say, an executable under > > Windows 8.1 before Windows 10 support was added to the Cygwin toolchain: > > the manifest linked to the Cygwin executable

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Bill Stewart via Cygwin
On Tue, Mar 19, 2024 at 10:21 AM Corinna Vinschen wrote: On Mar 19 09:18, Bill Stewart via Cygwin wrote: > > > I'm not sure of the exact scenario that led to the "RtlGetVersion is > > subject to manifesting" conclusion, but I can't reproduce it. > > Yo

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Bill Stewart via Cygwin
On Tue, Mar 19, 2024 at 9:01 AM Richard Campbell wrote: On Tue, Mar 19, 2024 at 9:04 AM Bill Stewart via Cygwin > wrote: > > > Can you please clarify the circumstances under which the RtlGetVersion > > function "may not return the correct values"? > > "

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Bill Stewart via Cygwin
On Tue, Mar 19, 2024 at 4:21 AM Christian Franke wrote: Cygwin uses the undocumented RtlGetNtVersionNumbers() from ntdll.dll > because even RtlGetVersion() may not return the correct values. See > function wincapc::init() > >

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-29 Thread Bill Stewart via Cygwin
On Thu, Feb 29, 2024 at 7:50 AM Andrey Repin wrote: > (I ask because PowerShell has been a built-in part of the Windows since > > Windows 7--that's over 14 years ago as I write this.) > > Since Windows XP. > You must not be remembering correctly. PowerShell wasn't a built-in part of Windows

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Bill Stewart via Cygwin
On Tue, Feb 27, 2024 at 7:42 AM Cedric Blancher wrote: How can I get the group SID for a file in cmd.exe (powershell is not an > option)? > Why is PowerShell not an option? (I ask because PowerShell has been a built-in part of the Windows since Windows 7--that's over 14 years ago as I write

Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Bill Stewart via Cygwin
On Fri, Dec 15, 2023 at 10:07 AM Mainz, Roland wrote: Is there any documentation how Cygwin 3.5.0 can be automatically (without > GUI and user intervention, e.g. via *.bat script) be installed as part of a > CI (Continuous integration) build environment ? > Have you looked at cygwin.com? --

Re: cmd.exe clone with UNC support?

2023-11-30 Thread Bill Stewart via Cygwin
On Wed, Nov 29, 2023 at 9:51 PM Martin Wege via Cygwin wrote: Is there a cmd.exe clone for Windows which supports UNC paths? > No, and this is because cmd.exe already supports UNC paths. I have been using UNC paths in cmd.exe for many years. It might help to describe your problem rather than a

Re: Capturing a Cygwin instance from another PC

2023-11-22 Thread Bill Stewart via Cygwin
On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I > have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc > to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from > cygwin.com to

Re: Fork errors

2023-09-07 Thread Bill Stewart via Cygwin
On Wed, Sep 6, 2023 at 5:32 PM Mark Geisert wrote: Speculation: The specific exit code 0xC142 may or may not have > something to do > with Windows error 142, which is ERROR_BUSY_DRIVE. I cannot help further > on this. > Correction: The low word of 0xC142 = hex 142 = decimal 322 =

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-24 Thread Bill Stewart via Cygwin
On Thu, Aug 24, 2023 at 8:52 AM Bill Stewart wrote: On Thu, Aug 24, 2023 at 7:01 AM Andrew Schulman wrote: > > > How can I find out whether the current Cygwin terminal has >> > Administrator rights? I want to safeguard our admin scripts with a >> > simple test

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-24 Thread Bill Stewart via Cygwin
t;The CheckTokenMembership function simplifies the process of determining whether a SID is both present and enabled in an access token." As an example, I wrote a little Windows program called 'elevate' that has a '-t' option to test whether the current process is elevated: https://github.com

Re: Virus Total scan

2023-08-22 Thread Bill Stewart via Cygwin
On Tue, Aug 22, 2023 at 9:00 AM Thomas Schweikle wrote: It is the address of one of the distribution servers. Since this is not > "one server", but a cluster of servers, your "suspicious" server shows > only one thing: those "suspicious" flags are suspicious by themselves: > > this particular

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-19 Thread Bill Stewart via Cygwin
On Sat, Aug 19, 2023 at 2:15 AM ASSI wrote: Windows really doesn't have a defined notion of what is or is not an > "administrator". Each particular definition will be insufficient or > invalid in certain contexts. > There is a definition of administrator in Windows: Your account is a member,

Re: fnmatch improvements

2023-07-28 Thread Bill Stewart via Cygwin
On Fri, Jul 28, 2023 at 5:12 AM Corinna Vinschen wrote: I'm puzzled because I'm an idiot. > That's one thing you certainly are not. Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Re: setup 2.926 release candidate - please test

2023-07-26 Thread Bill Stewart via Cygwin
y problems here. > > ... > > - Fix reinstall via command line (thanks to Bill Stewart for helping to > identify this is a regression in 2.919) >Addresses: https://cygwin.com/pipermail/cygwin/2023-March/253352.html > (amended subject line) Seems to be working in my testing. Thank you! B

Re: Setup: How to automate source download for packages already installed?

2023-03-28 Thread Bill Stewart via Cygwin
On Mon, Mar 27, 2023 at 2:55 PM Jon Turney wrote: Sorry, based on the previous discussion at [1] this seems to be broken > at the moment, due to '-x' being broken. > > [1] https://cygwin.com/pipermail/cygwin/2023-February/252994.html > > If you really need this, please try old setup versions from

Re: Setup: How to automate source download for packages already installed?

2023-03-27 Thread Bill Stewart via Cygwin
On Mon, Mar 27, 2023 at 2:18 PM Bill Stewart wrote: On Wed, Mar 4, 2020 at 6:32 AM Jon Turney wrote: > > >> If a package is listed for both -x and -P, it is reinstalled, so while >> not ideal, you might be able to achieve something like what you want >> with 'setup

Re: Setup: How to automate source download for packages already installed?

2023-03-27 Thread Bill Stewart via Cygwin
On Wed, Mar 4, 2020 at 6:32 AM Jon Turney wrote: > If a package is listed for both -x and -P, it is reinstalled, so while > not ideal, you might be able to achieve something like what you want > with 'setup -I -x "package1,package2,package3" -P > "package1,package2,package3"' > > An option which

Re: cygrunsrv -L outputs nothing if service paths are quoted

2023-02-06 Thread Bill Stewart via Cygwin
On Mon, Feb 6, 2023 at 1:06 PM Corinna Vinschen wrote: Yeah, quoted paths were not handled at all. I pushed a new version > 1.64 which contains a patch. > Great; thanks! Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

cygrunsrv -L outputs nothing if service paths are quoted

2023-02-06 Thread Bill Stewart via Cygwin
FYI: In our corporate environment we run vulnerability scans, and one of the most common complaints of the scanner is "unquoted service paths." To fix this "vulnerability," I use a quoted service path for cygrunsrv.exe; e.g.: "C:\Program Files\Cygwin\cygrunsrv.exe" This seems to confuse

Re: Cygwin setup reporter as malware

2022-12-07 Thread Bill Stewart via Cygwin
On Wed, Dec 7, 2022 at 9:21 AM Sylwester Rutkowski wrote: The setup-x86_64.exe is reported as malicious at > https://www.virustotal.com/gui/file/edd0a64dc65087ffe453ca94b267169b39458a983b29ac31320fcaa983d0f97e/detection > > Can this be resolved somehow? This is, of course, a false positive.

Re: Issues to install cygwin 3.3.6

2022-11-21 Thread Bill Stewart
On Mon, Nov 21, 2022 at 7:18 AM Michel Robitaille wrote: Running setup-x86_64.exe (version 3.3.6) requires an app on Windows 11 > (fully up to date). > It is looking for an app that does not exist with Microsoft Store. > What app is it requiring? -- Problem reports:

Re: Permissions issues after installing Windows 10

2022-06-03 Thread Bill Stewart
On Fri, Jun 3, 2022 at 6:23 AM Brent Epp wrote: I would think so too, but that doesn't appear to be happening. If it > makes a difference, the SID actually starts with S-1-5-21. I have to > manually take ownership in order to even access the files at all. > Explained another way: According to

Re: Permissions issues after installing Windows 10

2022-06-02 Thread Bill Stewart
On Thu, Jun 2, 2022 at 6:44 AM Brent Epp wrote: In the [Security] tab for these files or directories, under "Group or > user names", it lists the owner as "Account Unknown(S-...)". In some > cases, these files are completely inaccessible and I can't even take > ownership or change the

Re: msi installer file?

2022-03-09 Thread Bill Stewart
On Wed, Mar 9, 2022 at 12:30 PM Monica Parker wrote: Hi, > I just want to know if there is an MSI installer file? If not, can one be > created? Im trying to create a package for SCCM and it wont accept exe > files. > There is no MSI package; sorry. Bill -- Problem reports:

Re: Bug Report

2022-02-09 Thread Bill Stewart
On Tue, Feb 8, 2022 at 3:02 PM julie77793 wrote: Cygwin doesn't create an environment variable in bash to indicate that the > platform is Cygwin under Windows. > FYI, as a point of decorum: The subject line of this thread is rather undiplomatic. (Bug usually means "software should do X but

Re: [ANNOUNCEMENT] Updated: setup (2.917)

2022-01-24 Thread Bill Stewart
On Mon, Jan 24, 2022 at 3:49 PM Buchbinder, Barry (NIH/NIAID) [E] via Cygwin wrote: Windows protected your PC > Microsoft Defender SmartScreen prevented an unrecognized app from starting. > Running this app might put your PC at risk. > [Responding to mailing list] Not to state the obvious, but

Re: Inquiry on Apache Log4j's Effect on Cygwin Software

2021-12-23 Thread Bill Stewart
On Thu, Dec 23, 2021 at 8:19 AM Iyana Garry wrote: Is there any confirmation that Cygwin software is not impacted by the > Apache Log4J vulnerabilities (CVE-2021-44228, CVE-2021-45046 and > CVE-2021-45105)? > I'm not sure why there would need to be any such confirmation. Log4J is a Java

Re: Problem with ssh(d)

2021-11-10 Thread Bill Stewart
On Wed, Nov 10, 2021 at 8:28 AM Strasser, Dominik (DI SW ICS ICV) wrote: I know that this is the standard installation. But we absolutely need > passwordless login. So this was the workaround we found. > The number of groups differs when sshd is run as local system, and when > authorized_keys

Re: Previously-functional gawk script now failing to execute - PLEASE HELP!!!

2021-09-15 Thread Bill Stewart
On Wed, Sep 15, 2021 at 3:11 PM Bryan VanSchouwen wrote: WHAT THE HECK IS GOING ON WITH THIS SOFTWARE?! > I don't know what the technical problem is, but I would politely point out: 1. Typing things in all caps is considered shouting 2. Shouting at the people who might be able to help you is

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Bill Stewart
On Wed, Apr 21, 2021 at 1:28 PM Corinna Vinschen wrote: This is not the right place to discuss this in detail, but to me, a > straightforward and sensible approach would have been to give the 64 > bit system dir another name right from the start: > > C:\Windows\System64 > That would not have

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Bill Stewart
On Wed, Apr 21, 2021 at 10:47 AM Corinna Vinschenwrote: > A sane assumption is for instance, if you cd to foo, that your in foo. > That's what the FSR breaks in a thorough way. I. e. on WOW64: > > $ cd /cygdrive/c/Windows > $ ls -1d Sys* > SysWOW64 > System > System32 > SystemApps >

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Bill Stewart
On Wed, Apr 21, 2021 at 3:20 AM Corinna Vinschen wrote: The problem here is the File System Redirector, > > https://docs.microsoft.com/en-us/windows/win32/winprog64/file-system-redirector > > This thing is really a problem because it break every, otherwise > sane assumption. Hmm, bummer. I need

Re: sshd.exe waits repeatedly with SYN_SENT for inaccessible ldap

2021-01-28 Thread Bill Stewart
On Thu, Jan 28, 2021 at 12:06 PM Bill Stewart wrote: > > On Tue, Jan 26, 2021 at 6:31 AM Ilya Basin via Cygwin wrote: > > > The problem is solved. > > Our DHCP server was sending me a bad WINS server ip. After fixing the issue > > I had to reboot the PC (just refre

Re: sshd.exe waits repeatedly with SYN_SENT for inaccessible ldap

2021-01-28 Thread Bill Stewart
On Tue, Jan 26, 2021 at 6:31 AM Ilya Basin via Cygwin wrote: > The problem is solved. > Our DHCP server was sending me a bad WINS server ip. After fixing the issue I > had to reboot the PC (just refreshing the ip and restarting cygsshd was not > enough). It's doubtful a reboot is required.

Re: How to reinstall everything?

2021-01-21 Thread Bill Stewart
On Sun, Jan 17, 2021 at 11:23 AM matthew patton wrote: > can we fix setup.exe to read STDIN with '-P', like so? > echo 'pkg1,pkg2,pkg3' | setup.exe -P - What problem does this solve for you? PowerShell example, if you're not familiar: $packages = 'pkg1','pkg2','pkg3' setup -P ($packages -join

Re: ssh-host-config doesn't "inherit" user admin privilege

2021-01-15 Thread Bill Stewart
On Thu, Jan 14, 2021 at 6:21 PM art wrote: > > I get a security code 5 when ssh-host-config tries to install cygsshd. I was > logged into Win 10 pro/x64 as an admin user. The "fix" was to start a > Cygwin64 Terminal with Admin and then run ssh-host-config within this script. > Other installers

Re: Is it possible to define the root directory in a cross compiled program

2021-01-05 Thread Bill Stewart
On Tue, Jan 5, 2021 at 6:34 AM Eliot Moss wrote: > Is there a Windows equivalent to chroot (either the program or the > library/system call)? See: https://cygwin.com/cygwin-ug-net/highlights.html Quoting: "Chroot is supported. Kind of. Chroot is not a concept known by Windows. This implies

Re: Setting env var CYGWIN for Cygwin service?

2021-01-04 Thread Bill Stewart
On Mon, Jan 4, 2021 at 3:08 PM Oleksandr Gavenko wrote: > /usr/bin/exim-config has line with: > > cygrunsrv -I exim -p /usr/bin/exim -e CYGWIN="${cygenv}" ... > > So it is the answer (as pointed by others). > > Still "procexp" doesn't show anything else besides PATH/WINDIR for "exim" > process.

Re: Setting env var CYGWIN for Cygwin service?

2020-12-31 Thread Bill Stewart
On Wed, Dec 30, 2020 at 1:09 PM Oleksandr Gavenko wrote: > What way can I pass env var "CYGWIN" to the Cygwin service? cygrunsrv --help shows this: -e, --env Optional environment strings which are added to the environment when service is started. You can add up to 255 environment strings

Re: sshd broken by seemingly trivial network change

2020-12-17 Thread Bill Stewart
On Thu, Dec 17, 2020 at 2:25 PM Erik Soderquist wrote: > I've had weird instances where the Windows Firewall tools lied; I > confirmed this by temporarily shutting down the Windows Firewall > entirely, then restarting the service having problems and retesting. > On retest, it worked fine,

Re: sshd broken by seemingly trivial network change

2020-12-17 Thread Bill Stewart
On Thu, Dec 17, 2020 at 1:51 PM Charles Russell wrote: > Selecting "Advanced Settings" and then "incoming rules", I see one rule > for sshd private: enabled, allowed and one rule for sshd public: > enabled, allowed. There is a third rule for sshd domain: (disabled, > allowed). I believe that one

Re: Cygwin sshd broken by seemingly trivial network change

2020-12-17 Thread Bill Stewart
On Thu, Dec 17, 2020 at 10:44 AM Charles Russell wrote: > The last line was a giveaway. The problem is with the Windows firewall. > However, I have found no remedy apart from totally disabling the > firewall. The old settings no longer work: sshd is enabled for both > private and public

Re: Please add /cygdrive/c/Windows/Sysnative to the default PATH

2020-11-24 Thread Bill Stewart
On Tue, Nov 24, 2020 at 12:25 AM Thomas Wolff wrote: > > and please note that SysNative appears nowhere! > > That's because Sysnative is not a known folder. It is rather unknown > just because it is virtual :) > And that is the problem I tried to address. In cygwin32, you can `cd >

Re: Please add /cygdrive/c/Windows/Sysnative to the default PATH

2020-11-18 Thread Bill Stewart
On Tue, Nov 17, 2020 at 4:42 PM tealhill via Cygwin wrote: > Therefore, I am suggesting that Cygwin work around Microsoft's omission. > My suggested workaround is for Cygwin to add Sysnative to its own > $PATH, automatically. I don't think that should be a default behavior in cygwin and is

Re: Windows 2019 support?

2020-09-21 Thread Bill Stewart
On Sat, Sep 19, 2020 at 1:37 AM Thomas Wolff wrote: > > Cygwin can be expected to run on all modern, released versions of Windows, > > from > > Windows Vista, 7, 8, 8.1, 10, Windows Server 2008 and all later versions of > > Windows, except Windows S mode due to its limitations. The 32 bit

Re: Windows 2019 support?

2020-09-17 Thread Bill Stewart
On Thu, Sep 17, 2020 at 7:58 AM Chris Bovitz wrote: Cygwin can be expected to run on all modern, released versions of Windows. > State [sic] January 2016 this includes Windows Vista, Windows Server 2008 > and all later versions of Windows up to Windows 10 and Windows Server 2016. > > To me, this

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 3:30 PM Wayne Davison wrote: Something like this seems to work fine (with very minimal testing): > > @echo off > PATH=C:\cygwin64\bin > C:\cygwin64\bin\tar %* > Keeping in mind that cmd.exe provides no environment variable scoping using scripts, I would recommend

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 11:40 AM Douglas Coup wrote: I did try copying all of the .dll files in the Cygwin bin folder to the > same folder where the copy of Cygwin's tar.exe sits. > Why is this step necessary? Is the cygwin install process not working? Bill -- Problem reports:

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... > Surely you don't mean DOS? DOS doesn't exist in Windows any more (unless you are using an emulator like DosBox or a VM). Do you mean a cmd.exe console window? (cmd.exe is a Windows console-mode program

Re: Issue in starting the CYGSSHD service

2020-08-17 Thread Bill Stewart
On Mon, Aug 17, 2020 at 10:37 AM Subramanya Narayanaswamy via Cygwin wrote: Has anyone faced the same issue I'm facing now ? After installation of > CYGWIN I tried to run command to start cygsshd in CYGWIN terminal with > Admin privalages and facing the below error. Any help would be great

Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote

2020-08-10 Thread Bill Stewart
On Mon, Aug 10, 2020 at 12:21 PM Subramanya Narayanaswamy via Cygwin wrote: When I run Cygwin.bat file and try to configure SSH host service to connect > from Agent server on this windows host, I don't get a prompt to create > CYGWIN user at all. By default it is taking the SYSTEM default user

Re: need to fix permissions

2020-07-16 Thread Bill Stewart
On Wed, Jul 15, 2020 at 7:46 PM wrote: > Thank you very much ! > > I didn't see anybody mention that attrib step, in all the _many_ docs that i read. You're welcome. This is probably because file attributes are not actually security attributes. (As an aside: Please remove the responder's email

Re: need to fix permissions

2020-07-15 Thread Bill Stewart
On Tue, Jul 14, 2020 at 6:34 PM wrote: the cygwin home folder is giving me a LOT of trouble with access denied. > > i've tried takeown and icacls to fix permissions, and strangely it worked > for _Some_ files, but i still have files which i need to back up which are > causing "access denied"

Re: [EXTERNAL] Re: Country Of Origin Verification - 8944

2020-06-17 Thread Bill Stewart
On Wed, Jun 17, 2020 at 9:37 AM Watson, Christian M. (GRC-V000)[Peerless Technologies Corp.] wrote: We appreciate the reply. We are looking to use this software on a NASA > facility and that is why we sent you the questions we did to comply with > our security restrictions. If you could tell us

Re: Which rsync version is current?

2020-05-28 Thread Bill Stewart
On Wed, May 27, 2020 at 8:58 PM Marco Atzeri wrote: > specially as 3.1.3 was NOT building under cygwin > https://bugzilla.samba.org/show_bug.cgi?id=14365 ...and that would be why 3.1.3 hasn't been available for Cygwin. Thanks. For the benefit of others: In that bug report, Wayne Davison (rsync

Re: Which rsync version is current?

2020-05-27 Thread Bill Stewart
On Wed, May 27, 2020 at 2:19 PM Ken Brown wrote: > The latest stable release, 3.1.3, is two years old. I'm sure Jari had good > reasons for wanting to make a more recent version available. Right; except that 3.1.3 is not available for Cygwin (despite its age) - at least, it doesn't appear as

Re: Which rsync version is current?

2020-05-27 Thread Bill Stewart
On Wed, May 27, 2020 at 1:20 PM Andrey Repin wrote: > > When I run rsync --version, I see this: > > > > rsync version 3.2.0dev protocol version 31 > > > > However the Cygwin Setup program says that my rsync is current and is > > listed as this version: > > > > 3.1.3+20200429+gitf7746d0-1 > > >

Which rsync version is current?

2020-05-27 Thread Bill Stewart
When I run rsync --version, I see this: rsync version 3.2.0dev protocol version 31 However the Cygwin Setup program says that my rsync is current and is listed as this version: 3.1.3+20200429+gitf7746d0-1 rsync.samba.org says the current version is 3.1.3. So...what's actually the latest?

Re: ssh-pageant

2020-04-23 Thread Bill Stewart
On Thu, Apr 23, 2020 at 1:00 PM Thomas Wolff wrote: > The Cygwin package manager (setup) in the description of the ssh-pageant > package: > "SSH agent for Cygwin/MSYS that links to PuTTY's Pageant" The language is a bit imprecise, I suppose. Pageant is related to but != PuTTY - you don't have to

Re: setup-x86_64.exe --quiet-mode issues using Management Tools

2020-04-21 Thread Bill Stewart
On Tue, Apr 21, 2020 at 7:56 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > Are you sure that a setup that is automated with a silent > installation, but it still displays a progress popup, it cannot fail > if it is not able to display that window when there is no user > logged in? I am not, hence

Re: setup-x86_64.exe --quiet-mode issues using Management Tools

2020-04-21 Thread Bill Stewart
On Tue, Apr 21, 2020 at 2:08 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > s/silent/verysilent/g> > --- > /SILENT, /VERYSILENT Instructs Setup to be silent or very silent. > When Setup is silent the wizard and the background window are not > displayed but the installation progress window

Re: Two naive questions

2020-04-20 Thread Bill Stewart
On Mon, Apr 20, 2020 at 2:09 PM Christopher Faylor wrote: > With mailman, if you click on a message in the archives and then click > on the email address at the top, your mail client of choice will be > opened with correct "In-Reply-To" set. If you want to reply to the list > then replace the

Re: Two naive questions

2020-04-20 Thread Bill Stewart
On Mon, Apr 20, 2020 at 12:11 PM Eliot Moss wrote: > On 4/20/2020 1:41 PM, Bill Stewart wrote: > > > This exact problem is one of the main reasons why many organizations > > prefer a web-based forum rather than a mailing list. (NNTP is a > > possibility, but many [most?]

Re: Two naive questions

2020-04-20 Thread Bill Stewart
On Mon, Apr 20, 2020 at 11:20 AM Stephen Carrier wrote: > I think the OP's first question was asking how to effectively join > an existing thread when one is browsing the recent archives and not > subscribed to the list. > > Joining the list after seeing a question one would like to answer >

Re: setup-x86_64.exe --quiet-mode issues using Management Tools

2020-04-17 Thread Bill Stewart
On Fri, Apr 17, 2020 at 1:01 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > This is the way that we are pushing the packages currently to > end users is through software managers with silent > installation. My point is that "silent" doesn't mean "no visible GUI." It generally means "the installer

Re: setup-x86_64.exe --quiet-mode issues using Management Tools

2020-04-16 Thread Bill Stewart
On Thu, Apr 16, 2020 at 2:25 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > From: Cygwin On Behalf Of Bill Stewart > > On Wed, Apr 15, 2020 at 9:03 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > > > > I have already requested a feature to totally remove any GUI fro

Re: calm bounces (was: Undelivered Mail Returned to Sender)

2020-04-16 Thread Bill Stewart
On Thu, Apr 16, 2020 at 8:35 AM Brian Inglis wrote: > On 2020-04-15 04:44, Mail Delivery System via Cygwin wrote: > > This is the mail system at host sourceware.org. > > I'm sorry to have to inform you that your message could not > > be delivered to one or more recipients. It's attached below. >

Re: setup-x86_64.exe --quiet-mode issues using Management Tools

2020-04-15 Thread Bill Stewart
On Wed, Apr 15, 2020 at 9:03 AM KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > wrapped in a nice "setup-x86_64.bat" that is executed by the > installation Powershell script. That command is still popping up a > progress window, but it was removed by our Landesk configuration. > You may check if yours

Re: sshd problem -- seteuid failed -- ancient problem

2020-04-15 Thread Bill Stewart
On Tue, Apr 14, 2020 at 8:01 PM Kevin Schnitzius wrote: > sshd: PID 1721: fatal: seteuid 1610619958: No such device or address > > I just did a clean install: > openssh 8.2p1-1 > > The uid corresponds to me: > uid=1610619958(+kevins) > > Local users work

Re: [cygwin] FAQ entry "#faq.using.sshd-in-domain" obsolete

2020-04-14 Thread Bill Stewart
On Mon, Apr 13, 2020 at 5:52 PM Jason Pyeron wrote: > I continue to see failures of authentication (both PKI and password > based) on local vs domain accounts. In fact I have rarely seen two > sshd installs that are configured the same way. I would recommend reviewing the Cygwin and sshd

Re: [cygwin] FAQ entry "#faq.using.sshd-in-domain" obsolete

2020-04-13 Thread Bill Stewart
On Mon, Apr 13, 2020 at 2:54 PM Jason Pyeron wrote: > Is there a replacement? It is a very common question. I would guess that this entry could simply be removed? I don't think there's any special configuration needed anymore just because a machine is a domain member. Bill -- Problem reports:

FAQ entry "#faq.using.sshd-in-domain" obsolete

2020-04-13 Thread Bill Stewart
It would seem that the following FAQ entry ("How do I setup sshd in a domain?") is now obsolete: https://cygwin.com/faq.html#faq.using.sshd-in-domain Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: FYI: avast claims setup threat

2020-03-27 Thread Bill Stewart
On Fri, Mar 27, 2020 at 11:35 AM Ernie Rael wrote: > I just downloaded most recent setup-x86_64, v2.903. Avast was not happy. > > Threat name: IDP.Generic > > I did check with pgp2 --verify before I tried it. Report it to Avast as a false-positive. Bill -- Problem reports:

Re: Cygwin-OpenSSH 8.2.2.2

2020-03-24 Thread Bill Stewart
On Tue, Mar 24, 2020 at 4:24 AM Adam Dinwoodie wrote: > On Tue, 24 Mar 2020 at 01:04, L A Walsh wrote: > > > > On 2020/02/27 14:30, Brian Inglis wrote: > > > No, you must backport all sources to the current and all previous versions > > > > What all previous versions? Going back to year

Re: Setup mirrors

2020-03-09 Thread Bill Stewart
On Mon, Mar 9, 2020 at 4:09 PM Robert McBroom wrote: > > Did you search the most obvious place for information? > > https://cygwin.com/mirrors.html > > > That is the list of mirrors not a howto on becoming a mirror That page formerly had a blurb at the bottom on how to become a mirror. This

Re: cat /proc/partitions shows only devices, not partitions

2020-03-09 Thread Bill Stewart
On Mon, Mar 9, 2020 at 9:47 AM Hashim Aziz wrote: > I see. Do you know how I would go about resolving this, as I am using an > Administrator account and have never run into any other issues reading, > writing or otherwise making changes to those drives. As a side point: It is important to

Re: pseudo console and auto-wrap

2020-03-06 Thread Bill Stewart
On Fri, Mar 6, 2020 at 3:04 PM Bill Stewart wrote: > > As Takashi explained, there is no fix on the cygwin side. It could be > > fixed on the Windows side, within the ConPTY API. > > You could report it there... > > Thanks - found this: > > https://github.co

Re: pseudo console and auto-wrap

2020-03-06 Thread Bill Stewart
On Fri, Mar 6, 2020 at 1:43 PM Thomas Wolff wrote: > > With disable_pcon set: > > > > echo "$PATH" -- wraps correctly > > cmd /c echo %PATH% -- wraps correctly > > winpty cmd /c echo %PATH% -- wrapping broken > > > > Without disable_pcon set: > > > > echo "$PATH" -- wraps

Re: pseudo console and auto-wrap

2020-03-06 Thread Bill Stewart
On Thu, Mar 5, 2020 at 8:52 AM Takashi Yano wrote: > Thomas Wolff wrote: > > With ConPTY support, the following command results in output that > > contains an explicit newline at the auto-wrap position: > > cmd /c echo a line which is wider than your terminal ... > > > > For copy/paste, this is

Re: Setup: How to automate source download for packages already installed?

2020-03-04 Thread Bill Stewart
On Wed, Mar 4, 2020 at 6:32 AM Jon Turney wrote: > If a package is listed for both -x and -P, it is reinstalled, so while > not ideal, you might be able to achieve something like what you want > with 'setup -I -x "package1,package2,package3" -P > "package1,package2,package3"' This does what I

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

2020-03-03 Thread Bill Stewart
On Mon, Mar 2, 2020 at 11:08 PM Robert McBroom wrote: Details in attached file Hint: When asking for help in a mailing list, the less effort respondents have to go through, the better. It is better to put your information directly in the message rather than attaching a file. (Why attach a

Setup: How to automate source download for packages already installed?

2020-03-02 Thread Bill Stewart
I would like to reinstall a set of packages and automatically install the source for only those packages. The packages are currently installed, and I am using a Setup command line like this: -I -P "package1,package2,package3" The description in --help for -I states "Automatically install

Re: OpenSSH: SSHD daemon (as SYSTEM) is partially broken

2020-02-28 Thread Bill Stewart
On Thu, Feb 27, 2020 at 4:10 PM TestUser1 wrote: So is this expected to work fine in my environment, Windows Server 2016 (OS > Version 10.0.14393), without the workaround? > I can't reproduce on Windows Server 8.1/Server 2012 R2 or later. But you can certainly try the workaround. Bill --

Re: [ANN] Cygwin-OpenSSH 8.2.2.2

2020-02-28 Thread Bill Stewart
On Thu, Feb 27, 2020 at 3:31 PM Brian Inglis wrote: No, you must backport all sources to the current and all previous versions > and > redistribute, or at least make them visible and available on your site, > otherwise you are in breach of the licence and must withdraw all > distributions > I

Re: [ANN] Cygwin-OpenSSH 8.2.2.2

2020-02-27 Thread Bill Stewart
On Thu, Feb 27, 2020 at 11:52 AM Achim Gratz wrote: But more to the point: since you include GPL components, a binary-only > distribution is not OK. The sources for at least the GPL licensed > utilities and libraries is missing. It's not enough to say what these > are and roughly where to get

Re: OpenSSH: SSHD daemon (as SYSTEM) is partially broken

2020-02-27 Thread Bill Stewart
On Thu, Feb 27, 2020 at 11:09 AM n0nc3 wrote: It appears Cygwin SSHD's functionality is partially broke in the later > versions, where SSHD runs as SYSTEM (no longer cyg_server). > > On reboot, any attempt to SSH into the server *before* any previous logon > attempt (RDP/locally/etc) is quickly

Re: [ANN] Cygwin-OpenSSH 8.2.2.2

2020-02-27 Thread Bill Stewart
On Wed, Feb 26, 2020 at 11:47 PM ASSI wrote: You will perhaps want to read the Cygwin licensing terms > plus the licensing terms of each of the packages you distribute. > The relevant licenses are provided as links in the installer and referenced in the User's Guide. Bill -- Problem reports:

[ANN] Cygwin-OpenSSH 8.2.2.2

2020-02-26 Thread Bill Stewart
I have updated the package: https://github.com/Bill-Stewart/Cygwin-OpenSSH Installer is available on the 'Releases' tab. Description: Cygwin-OpenSSH is a convenient packaging of the Cygwin version of OpenSSH for Windows systems. Notable changes: - Updated OpenSSH to version 8.2 - Updated

Re: Cygwin SSH - seteuid no such device or addresss

2020-02-23 Thread Bill Stewart
On Sun, Feb 23, 2020 at 3:33 AM jinsu mathew wrote: I've setup Cygwin and want to ssh with domain user account on windows > server 2012 R2. It works fine if I start the sshd service with "Local > system account" but if I start the service with a "cygserver" local account > or "domain\cygserver"

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
Thank you for the assistance! I released the latest version of my installer, now available (under "Releases" tab) here: https://github.com/Bill-Stewart/Cygwin-OpenSSH Bill -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Doc

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
On Thu, Jan 30, 2020 at 12:33 PM Bill Stewart wrote: > I added cygwin-console-helper.exe and this resolved it, at least on > Windows 10. My next step is to test on Server 2012 R2. Tested, and works fine also on Server 2012 R2. Thanks for the help! Bill -- Problem reports:

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
On Thu, Jan 30, 2020 at 9:46 AM Takashi Yano wrote: > Bill Stewart wrote: > > > > When I use cygwin1.dll versions newer than 3.0.7, sshd.exe hangs > > whenever establishing a connection. > > ... > > Any ideas? > > You need cygwin-console-helper.exe for n

sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
I have created an OpenSSH installer for Windows users: https://github.com/Bill-Stewart/Cygwin-OpenSSH Basically it includes only the minimum files from Cygwin needed to run OpenSSH and has some additional conveniences (the foremost of which is to automatically install the service). The problem

Re: Windows Restart Manager and cygrunsrv services

2020-01-27 Thread Bill Stewart
On Mon, Jan 27, 2020 at 9:19 AM Bill Stewart wrote: > > Any ideas why Restart Manager doesn't work for cygrunsrv services? > ... > Question also posted on StackOverflow: > > https://stackoverflow.com/questions/59902201/ > > Any insights appreciated. Accor

Re: Windows Restart Manager and cygrunsrv services

2020-01-27 Thread Bill Stewart
On Thu, Jan 23, 2020 at 10:44 AM Bill Stewart wrote: > However it seems that when running a service using cygrunsrv, the > Restart Manager RmGetList API[2] returns RmRebootReasonSessionMismatch > (2) for the lpdwRebootReasons output parameter. > > This parameter retu

Re: anyone interested in loading a portable drive?

2020-01-27 Thread Bill Stewart
On Sun, Jan 26, 2020 at 9:33 PM aimedtech wrote: > Okay, this is a complaint. I've spent the past few days trying to download > the Cygwin system and gotten nowhere. I've tried several download > environments, using different protocols, nothing works. Remember that we can't see your screen.

Windows Restart Manager and cygrunsrv services

2020-01-23 Thread Bill Stewart
Good day, Application installers (such as Windows Installer or Inno Setup) can use the Windows Restart Manager APIs[1] it to determine if a program or service is running, and automatically stop/restart as appropriate. This is useful when reinstalling or upgrading a service from an installer, as

  1   2   >