From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id E94783857C50 for ; Sun, 1 Aug 2021 17:23:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E94783857C50 Received: by mail-ot1-x332.google.com with SMTP id i39-20020a9d17270000b02904cf73f54f4bso1541138ota.2 for ; Sun, 01 Aug 2021 10:23:28 -0700 (PDT) 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) Received: from [192.168.10.5] (dial-200-57-195-23.zone-3.ip.static-ftth.axtel.net.mx. [200.57.195.23]) by smtp.gmail.com with ESMTPSA id n20sm1499678otj.11.2021.08.01.10.23.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Aug 2021 10:23:27 -0700 (PDT) Subject: Re: Unable to start Cygwin64 terminal after password change To: "'cygwin@cygwin.com'" References: From: =?UTF-8?Q?Ren=c3=a9_Berber?= 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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Sun, 01 Aug 2021 17:23:30 -0000 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