public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>
Subject: RE: Unable to start Cygwin64 terminal after password change
Date: Tue, 3 Aug 2021 15:07:44 +0000	[thread overview]
Message-ID: <DM8PR09MB7095BED36A768E4534D0CFB8A5F09@DM8PR09MB7095.namprd09.prod.outlook.com> (raw)
In-Reply-To: <YQknc7ifE4mNthDK@calimero.vinschen.de>

> Apart from changing your password, is it possible that your admins changed some sort of
> domain security settings?  Apparently some OS calls fail for cygserver running under the SYSTEM account.
> You should really check with your admins here first.

I am sure nothing was changed at the domain level -- it's a rather big org here, so doing so
would have stirred a lot of confusion.  People change their passwords all the time, and
last Thursday's afternoon was my turn.  That's all.  But I'll double check with them, to make sure.

> Hopefully this gives us some hint as to the cause of your problem.

Thanks!  I'll follow your instructions, but I guess for that I have to have elevated privs
to strace cygserver.  I see what I can do here on my work PC about this matter.

Meanwhile, I noticed some discrepancies with my user IDs that were reported while
I was locked out of my Cygwin terminal (and cygserver running), with that they are
reported now, when everything appears to work correctly (and cygserver is stopped).

Cygcheck.exe:  with cygserver running (note missing closing parentheses for numeric +User and +Group,
and some garbage "mote Desktop Users)"):

Output from C:\cygwin64\bin\id.exe
UID: 1050182(NCBI_NT+User(1606)
GID: 1050182 groups=1050182,1049089(NCBI_NT+Group(513)
mote Desktop Users)
555(Remote Desktop Users)
545(Users)
...

Cygcheck.exe:  after cygserver was stopped:

Output from C:\Cygwin64\bin\id.exe
UID: 1050182(lavr)
GID: 1049089(Domain Users)
1049089(Domain Users)
555(Remote Desktop Users)
545(Users)
...


NOTE that my primary GID was wrong -- as it was actually my UID, numerically!


Standalone id.exe confirms that.

With cygserver running the output was:
uid=1050182(NCBI_NT+User(1606)) gid=1050182 groups=1050182,1049089(NCBI_NT+Group(513)),555(Remote Desktop Users),...

After it was stopped:
uid=1050182(lavr) gid=1049089(Domain Users) groups=1049089(Domain Users),555(Remote Desktop Users),...


IDK but it seems like cygserver was doing something very wrong to stuff my UID into my GID
(cygcheck was also somehow confused to mess the output in that case).

Anton Lavrentiev
Contractor NIH/NLM/NCBI


  reply	other threads:[~2021-08-03 15:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 21:09 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-07-31 21:46 ` Brian Inglis
2021-08-02  8:06 ` Corinna Vinschen
2021-08-02 15:12   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 16:30     ` Corinna Vinschen
2021-08-02 16:49       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 18:31         ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 20:58           ` Brian Inglis
2021-08-02 21:38             ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-03  0:38               ` Brian Inglis
2021-08-03  1:47                 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-03 15:23                   ` Brian Inglis
2021-08-03 15:50                     ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-03 17:24                       ` Brian Inglis
2021-08-03 18:12                         ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-03 18:20                           ` john doe
2021-08-04 10:03                         ` Andrey Repin
2021-08-03 11:24           ` Corinna Vinschen
2021-08-03 15:07             ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] [this message]
2021-08-02 15:16   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-01 16:57 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-01 17:23 ` René Berber
2021-08-01 19:28 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-01 19:53 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 14:59 ` Andrey Repin
2021-08-02 15:14   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 15:20     ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-02 21:21       ` Andrey Repin
2021-08-02 21:39         ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM8PR09MB7095BED36A768E4534D0CFB8A5F09@DM8PR09MB7095.namprd09.prod.outlook.com \
    --to=lavr@ncbi.nlm.nih.gov \
    --cc=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).