delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/02/04:07:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4B4D3833017
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1627891667;
bh=h24BLM62BIQwSxi1zCrnVS9AwtuvQrcKvFVh9b6bnJU=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=bslaMDqBcL1ho7TnGSkrspxweRGQ+1voQbJQzxgaYvJLrseQ/oE8pOo6nFMgnL32q
naIIY7BiM14f49Lml+9G84AmhSPMP7k+nKVneXHFZlojnHVtf1YHcgBRrtg3f/+IpC
54Cz0ErnPWGtULVEH6QWBRczh1lxLNXN78+VfY5Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ED8FA383542C
Date: Mon, 2 Aug 2021 10:06:04 +0200
To: cygwin AT cygwin DOT com
Subject: Re: Unable to start Cygwin64 terminal after password change
Message-ID: <YQenbE7ZbwzzcdQM@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <DM8PR09MB70959D0E3923BE1BE86F7285A5ED9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
In-Reply-To: <DM8PR09MB70959D0E3923BE1BE86F7285A5ED9@DM8PR09MB7095.namprd09.prod.outlook.com>
X-Provags-ID: V03:K1:veY9teg9ajWPY/LQXqNIL4yp8j/1nElMKSPhXS0mSEJNN63yQYW
nf9UbUjS1sROdCH4gtga4QeCtI4sCB6zl1Mo6Nmdg3OEqynJKW++ZOPZg91fK2xDxcFgYJf
r/8rk90Xo7KjEWcnE42YHQGpOmqHXAVsE09NQp/EnYEU268rRL3ACmqZ8jbdLoOuLB6cuGr
0g0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JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jul 31 21:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> Hi all,
> 
> I seem to be unable to start "Cygwin64 Terminal" (using the standard icon placed on the desktop when Cygwin gets installed)
> after I had to change my password (at work).  My account did not change.  What I see is that the terminal window pops up
> momentarily with a text "This account is currently not available", and then closes right away.  I'm using my work PC
> perfectly fine, and my new password works just as well (using it every time to log in the system), only the Cygwin terminal
> stopped working after the change.  I "own" the Cygwin installation on my work PC (it's installed by me from under my
> username).
> 
> Even rebooting the PC did not help to clear this up.
> 
> Weirdly enough, I can start bash from cmd.exe, but then it shows my username numerically:
> 
> C:\WINDOWS\system32>c:\cygwin64\bin\bash.exe
> 
> NCBI_NT+User(1606)@NCBIPC9135 /cygdrive/c/WINDOWS/system32
> $ uname -a
> CYGWIN_NT-10.0 NCBIPC9135 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
> 
> Any suggestions?

This sounds like LookupAccountSid fails for some reason.  Is NCBI_NT the
primary domain of the machine as well?  I. e., is the machine in the
same domain as your user account?  If yes, it's very strange that this
should occur.  If you're in another domain, it might be a problem with
domain trusts, but that's just idle musing without knowing what happens
under the hood.

Please start a CMD shell, cd into your Cygwin bin dir and run

  strace -o id.out id

You might want to check the id.out file for sensitive information
(typically environment variables) and you can change group names in
id.out as well as in the id output to hide private info, but the info
should be complete and make sense (i .e, if you change a group name
to XYZ in the id output, change it to XYZ in id.out as well).

Please paste the output of id and attach the id.out file to your reply.


Thanks,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019