Re: Uninstalling Cygwin properly (.\setup.exe --uninstall ?)?

2025-05-23 Thread Bill Stewart via Cygwin
On Fri, May 23, 2025 at 7:47 AM Mark Liam Brown wrote: > What is the official procedure to uninstall Cygwin properly? Just > deleting C:\cygwin64 from Explorer yields lots of "malformed ACL > warnings", and the registry still contains traces of Cygwin64 If the malformed ACLs bother you, reset own

Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-09 Thread Bill Stewart via Cygwin
On Mon, Apr 7, 2025 at 7:05 PM Jim Garrison wrote: > I just ran across this today. In a normal session all my remote mounts > (NTFS, file server running Win10) are visible. In a session that is > "Run as administrator", none of the mounts are visible. > > Is there a configuration parameter that

Re: bash.exe crash

2025-04-01 Thread Bill Stewart via Cygwin
On Tue, Mar 25, 2025 at 1:25 PM David wrote: > Unsurprisingly, setup-x86_64.exe always posts error messages on completion: > > Package: 0/Perpetual > 0p_000_autorebase.dash exit code -1073741819 > 0p_update-info-dir.dash exit code -1073741819 > Package: _/Unknown package >

Re: Inheriting all ownership, rights and files from an user

2025-01-23 Thread Bill Stewart via Cygwin
On Thu, Jan 23, 2025 at 12:33 PM Jose I Cabrera wrote: My windows account just changed from e608313 to u618346 and I would like to > use the old setup that I had on the old account under the new account in > cygwin. How is this possible? Thanks. > This may be possible by using the native Windows

Re: 7 python requests?!

2025-01-22 Thread Bill Stewart via Cygwin
On Wed, Jan 22, 2025 at 7:17 AM Marco Atzeri wrote: Lester, > it seems to me that you have a clear problem in COMMUNICATION. Do NOT > reply to me only. Reply to the mailing list. > > I am NOT your personal support HOTLINE. > This is the last advise. > Indeed. Here are some other references that m

Re: Modify Cygwin sshd to support login into user SYSTEM?

2024-12-23 Thread Bill Stewart via Cygwin
On Fri, Dec 20, 2024 at 5:02 AM Cedric Blancher wrote: Is it possible to modify Cygwin sshd to support logins into user SYSTEM? > What problem are you solving? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://c

Re: getent passwd which works for unprefixed Windows user names with both local and domain users?

2024-12-10 Thread Bill Stewart via Cygwin
On Tue, Dec 10, 2024 at 6:37 AM Cedric Blancher wrote: We have a Win10 env with mixed local and domain accounts. > We cannot lookup up local AND domain users with just the plain > username from Windows. Instead we have to do lookups twice: > I don't know the Cygwin solution, but here's a short Po

Re: SMBFS mount's file cannot be made executable

2024-11-13 Thread Bill Stewart via Cygwin
On Wed, Nov 13, 2024 at 8:38 AM Takashi Yano via Cygwin wrote: Thanks. However, even after reading the document, I still didn't > understand what strings I should set the members for auth for SMB... > > For example, as for Endpoint, the example for ncacn_np is mentioned, > but not for ncacn_ip_tcp

Re: SMBFS mount's file cannot be made executable

2024-11-13 Thread Bill Stewart via Cygwin
On Wed, Nov 13, 2024 at 2:18 AM Takashi Yano via Cygwin wrote: I'm working on this, however, I stuck on setting the first parameter > of AuthzInitializeRemoteResourceManager(). The most members of structure > AUTHZ_RPC_INIT_INFO_CLIENT are PWSTR, and I have no idea what kind of > string should be

Re: hi ya'll help with norton av please

2024-10-24 Thread Bill Stewart via Cygwin
On Thu, Oct 24, 2024 at 1:08 AM Jim McNamara via Cygwin wrote: I am just trying to rule out if norton is blocking me. > > I cant seem to get some code to execute in cygwin environment. > Remember that nobody can see your screen. Vague questions like this are generally unanswerable. You will gen

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Mon, Jul 22, 2024 at 12:50 PM Csaba Ráduly wrote: Plus, it sounds like a global solution to a local problem: > https://devblogs.microsoft.com/oldnewthing/20081211-00/?p=19873 > Good point. Parsing 'net use' output is not the correct way, or even a very good way, to get the requested informatio

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Sat, Jul 20, 2024 at 8:57 AM Mark Liam Brown wrote: Basically I need every bit of information out of "net use", "net > config", "net statistics", "net view" and so on, parse it in bash or > perl, process it in bash, and output it in JSON format from the bash > script for our (Linux-based) admin

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Bill Stewart via Cygwin
On Sat, Jul 20, 2024 at 7:45 AM Mark Liam Brown via Cygwin wrote: I am trying to parse the output of "net use" in a bash script, but hit > a roadblock: > The output of "net use" changes with the language of the system > (English, Danish, French, ...), so parsing becomes nearly impossible > > How c

Re: ssh vulnerability CVE-2024-6387

2024-07-17 Thread Bill Stewart via Cygwin
On Wed, Jul 17, 2024 at 6:25 AM Lemons, Terry via Cygwin wrote: Vulnerability scanners run at my company have detected the following > vulnerability in the Cygwin sshd: > > CVE-2024-6387CVSS 3: 8.1 > > OpenSSH could allow a remote attacker to execute arbitrary code on the > system, caused by a

Re: Run explorer.exe with Cygwin newgrp(1) - same user but different primary group

2024-05-31 Thread Bill Stewart via Cygwin
On Thu, May 30, 2024 at 5:21 PM Dan Shelton wrote: How can someone run explorer as Admin then? > I believe the point of the design was to prevent exactly that (as already noted, for security reasons). Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://

Re: Run explorer.exe with Cygwin newgrp(1) - same user but different primary group

2024-05-29 Thread Bill Stewart via Cygwin
On Tue, May 28, 2024 at 9:36 PM Dan Shelton wrote: > Does anyone know how to run Windows explorer.exe with Cygwin > /bin/newgrp, so all new files created by explorer.exe use that new > primary group, and all programs launched by explorer.exe use that same > primary group? > As I understand it, E

Re: WinSG Re: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-05-28 ...

2024-05-29 Thread Bill Stewart via Cygwin
On Tue, May 28, 2024 at 8:29 PM Dan Shelton wrote: Just a couple of ideas: > - Native Windows doesn't have an easy way to list group memberships > for the current user, so a WinSG -l to list available groups would be > good > Maybe you weren't aware of it - 'whoami /groups' > - WinSG should be

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Bill Stewart via Cygwin
On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote: Can Cygwin be installed as a normal user (without Admin rights) in a > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > Also, can this be done for more than one Cygwin version, e.g. I'd like > to test multiple Cygwin versions

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" ? https://devblogs.microsoft.com/

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 didn

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. > >

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"? > > "Ori

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() > > https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/winca

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 until

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 this

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? -- Pr

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 th

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 = ERROR_D

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 an

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

2023-08-24 Thread Bill Stewart via Cygwin
In that reference: "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 cur

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 serv

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, eit

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 Un

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 's

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/ Documentation:

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 cygruns

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. The

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: https://cygwin.com/prob

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 htt

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 permissions

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: https://cygwin.

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 fails

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 applicati

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 exis

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 p

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 wo

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. Prob

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 h

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 som

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 usi

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, confirmi

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 i

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 networks,

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 > $WINDIR/Sysnati

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 likely

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 version

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 i

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 setlocal/e

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: https://cygwin

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 th

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 thanks!

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 for

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" erro

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 wh

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 m

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 an

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? Wha

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 I

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 is

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 "To

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 > doesn

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 h

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 fi

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 versions

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:https://cygwin.c

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: https://cygw

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 shoul

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 under

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.com/mic

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 correctly

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 su

  1   2   >