Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-17 Thread Jonathon Merz via Cygwin
On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin wrote: > Just an idea: Could the default background color of the Cygwin console > be changed from black to grey (or RED) if the terminal has been > started with Administrator rights? > Assuming that: 1. The Administrators group is called "Ad

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-17 Thread Martin Wege via Cygwin
On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > Hello, > > We get a weird mkfifo failure in Cygwin on NTFS: > > /usr/bin/mkfifo -m 600 x.fifo > mkfifo: cannot set permissions of 'x.fifo': Not a directory > > Is there a known workaround? So far named fifos cannot be created somehow. This is

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

2023-08-17 Thread Backwoods BC via Cygwin
On Thu, Aug 17, 2023 at 7:01 PM Martin Wege via Cygwin 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 and bail out with an error if someone wants to do admin > stuff (say: regtool) without admin

Cygwin console: Different default background color when terminal runs as Admin?

2023-08-17 Thread Martin Wege via Cygwin
Hello, Just an idea: Could the default background color of the Cygwin console be changed from black to grey (or RED) if the terminal has been started with Administrator rights? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-17 Thread Martin Wege via Cygwin
Hello, How can I find out whether the current Cygwin terminal has Administrator rights? I want to safeguard our admin scripts with a simple test and bail out with an error if someone wants to do admin stuff (say: regtool) without admin privileges. Thanks, Martin -- Problem reports: https:/

Re: Persistent and same Cygwin session for Windows login and ssh login?

2023-08-17 Thread Dr Bean via Cygwin
On Thu, 17 Aug 2023, Cedric Blancher via Cygwin wrote: > Good evening! > > How can I get a Cygwin session for one Windows login, and get the same > Cygwin session when I log into the same Windows machine via ssh? Following https://learn.microsoft.com/ja-jp/windows-server/administration/openssh

Cygwin openssh AllowGroups

2023-08-17 Thread Dale Lobb via Cygwin
Is there a known issue in Cygwin's implementation of openssh in the AllowGroups clause of sshd_config? I cannot get it to work. I have a domain member server where I want to limit ssh logins to just members of a few groups. Without those limits, any domain user can log into the server. T

How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-17 Thread Martin Wege via Cygwin
On Mon, Aug 14, 2023 at 10:56 PM Corinna Vinschen via Cygwin wrote: > and the result is the same. Note that Cygwin supports MSFT NFSv3 but > not CITI NFSv4.1 internally. No gurantee that Cygwin always does what > is necessary for that other NFS. 1. How does Cygwin detect whether something is a

[ANNOUNCEMENT] cygwin 3.4.8-1

2023-08-17 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * cygwin-3.4.8-1 * cygwin-devel-3.4.8-1 * cygwin-doc-3.4.8-1 Bug Fixes - - Make safe for c89 compilations. Addresses: https://cygwin.com/pipermail/cygwin-patches/2023q3/012308.html - Make gcc-specific code in comp

Mount Windows share for all users?

2023-08-17 Thread Cedric Blancher via Cygwin
Good evening! Can I mount a Windows share (CIFS, builtin Windows, ms-nfsv41, ...) at Windows 10 system boot time, so all users (and Cygwin sessions) can use it? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/

Persistent and same Cygwin session for Windows login and ssh login?

2023-08-17 Thread Cedric Blancher via Cygwin
Good evening! How can I get a Cygwin session for one Windows login, and get the same Cygwin session when I log into the same Windows machine via ssh? Also, where does Cygwin store session information? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur --