X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFA2A3853826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1627838680; bh=+NB21vp0a3G9KSPm2yyWKiMEVH0QPYijsnwaFDX2f80=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=bY7BEHKKza+wdTqHZFqSBRMVQ8C4Jy3bI07gCGmvaohrMTTDxDlICgdBdN937yC2I PKrN1pCVeJQV2GL2vLnjHqjOuvk9CZ/VRIOxCrJDnvATqnTojc5MTr2Nkh9VMzsgYX dxG3+smasqwyqKemAa2uPCaTPkwnCA4Si/gSkXjM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E94783857C50 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0q3SgEN2rCjgLzrBnD2BC2MEoQBRE217acNlL0p+ZCM=; b=sL5WuYY8lthgzu19CyrSEXmcnTfrXx7TmxXxDVcknrSQGy0McsRwX83g7IK0xBEreb OvbWIvEX0DNaJb8989VqrQAQcidHh6XfNWoUL94tDvYu07QffgQ9717MEkaOHG0OyCSQ SSbnpVm4o1fdH6OmD+l/f5FsQL9qh+Mq5eXkPZVYcPjXMIgsgx5jxzd1s87cgoSn/oxi nnrW9wjjadGkiP/LhTPHN7Tch8VsRToWkzDNtae51rX9ipNHCQlL15bv9izJudRyd5Fd Crbm+A/SA5Pdm7mqHp9qgnLGHier4gFalxqjlKHjiic8iyk2421P8i1mrYvduyc3CwsL fMKQ== X-Gm-Message-State: AOAM531Kb9KUjVUsuukiVdaKROio+MGg1eF2Y0aZ6lbqJ8h5qOPjrz7f e/vHFWG2RtpHCBvd6tR7N2t6zjY+Qf8HCQ== X-Google-Smtp-Source: ABdhPJxglnyyq7YoRimw97bNj8FXcdVNZzK9d/OzXWQD+zJrKwrP/GDXiI4RLLSICsyLdxcwWEHrHA== X-Received: by 2002:a05:6830:2047:: with SMTP id f7mr7366270otp.314.1627838608286; Sun, 01 Aug 2021 10:23:28 -0700 (PDT) Subject: Re: Unable to start Cygwin64 terminal after password change To: "'cygwin AT cygwin DOT com'" References: Message-ID: <4ad0563e-1310-72f8-93e2-65dd7a3c3249@gmail.com> Date: Sun, 1 Aug 2021 12:23:33 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= Reply-To: =?UTF-8?Q?Ren=c3=a9_Berber?= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- 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