X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B8BC0385782D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=iname.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bstewart AT iname DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1610727961; bh=h1EOxx9WaIZrEu823d5t/+glfNBFxzJk9640BKbObiM=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=df0NNkY6i3ST2kpdG3o3xrvZlFZimGHR8OWSm6LZ0W1z4+kpwcJT2bpTSvh7JP/v6 YFFoGIgI/Ks0g+g9gbsMOGFtR9Ai5LBnyNFJi4Y6pAr7trDkMKHGgS9GCa1Z17lyZE 9eIcgXmQsz2R35JNgGt5Zr/wCLly3DRIBh2hFKgM= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 X-Gm-Message-State: AOAM533OZEkcQDM5CxHRM39tu4IAM4ibb3UY9bwqKVJOv+LqPFlBko3D bs7ZyY4I7XfCxjZK1CP63FTUW0A6FqOzaxVlUho= X-Google-Smtp-Source: ABdhPJwtGKZOd2u7t5QIwgo5BqCAW7E5SaHflushzdowqwyDLQhc4MZeiiRCmUOlo4wbONB1+ItvHNmombcne4DY/jw= X-Received: by 2002:a19:5f59:: with SMTP id a25mr6319185lfj.310.1610727959065; Fri, 15 Jan 2021 08:25:59 -0800 (PST) MIME-Version: 1.0 References: <4da6176c0a89411c9cae02302b4dd505 AT parrotbyte DOT com> In-Reply-To: <4da6176c0a89411c9cae02302b4dd505@parrotbyte.com> From: Bill Stewart Date: Fri, 15 Jan 2021 09:25:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ssh-host-config doesn't "inherit" user admin privilege To: "cygwin AT cygwin DOT com" X-Provags-ID: V03:K1:wvtnnMA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PWS2zIdA0A0CHYXQPp8gkn/cAwFQuyZZ8+1uannsNanyri9NR7nI7A8jsysGWpezqRj V9jDdw/sLLAoVMfR5p7w== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Thu, Jan 14, 2021 at 6:21 PM art wrote: > > I get a security code 5 when ssh-host-config tries to install cygsshd. I was logged into Win 10 pro/x64 as an admin user. The "fix" was to start a Cygwin64 Terminal with Admin and then run ssh-host-config within this script. Other installers have produced the same nuisance. These needed an admin command prompt to get around the same "inheritance" limitation. Are you asking a question or reporting a problem? It sounds like you are confusing logging on using an admin user (i.e., a user that's a member of the local Administrators group) with elevation (a process that runs using full administrative privileges). Bill -- 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