Unable to start Cygwin64 terminal after password change

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 2 08:06:04 GMT 2021


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


More information about the Cygwin mailing list