From: "René Berber" <rene.berber@gmail.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: Unable to start Cygwin64 terminal after password change
Date: Sun, 1 Aug 2021 12:23:33 -0500 [thread overview]
Message-ID: <4ad0563e-1310-72f8-93e2-65dd7a3c3249@gmail.com> (raw)
In-Reply-To: <DM8PR09MB709516B4753B1B9E9F5BE7F0A5EE9@DM8PR09MB7095.namprd09.prod.outlook.com>
On 8/1/2021 11:57 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
[snip]
> BTW, $USER is not defined in the bash environment (not sure if it
> should be)
Quoting man bash:
"When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads
and executes commands from the file /etc/profile, if that
file exists."
and /etc/profile has a line with:
USER="$(/usr/bin/id -un)"
then...
export ... USER ...
Unless of course you execute bash with -noprofile.
> My account is a domain account here. And everything worked before I
> had to change my password.
Maybe `id -un` does change in this case.
--
R. Berber
next prev parent reply other threads:[~2021-08-01 17:23 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 16:57 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2021-08-01 17:23 ` René Berber [this message]
-- strict thread matches above, loose matches on Subject: below --
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]
2021-08-01 19:28 Lavrentiev, Anton (NIH/NLM/NCBI) [C]
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]
2021-08-02 15:16 ` 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=4ad0563e-1310-72f8-93e2-65dd7a3c3249@gmail.com \
--to=rene.berber@gmail.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).