X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 21BA03858C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1701077186; bh=d/ZHMMfLFtFbzPYoSNtFkpkv8xj6q1dzNz92mIk03H0=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=sV/2R2w3Pn6Ifs5oXAGUW6ixxuucQPe27NRwqom2f37uIUt89UnQ2WZxvFFoTogpJ +nb3oG3l23wXJUm0GqL2TZbQUtdEuOe4jiIXoylTL2lN9yJYffgj2BsBKtynKXX2ep /VOls4Cc8Hs+3Ouc3B9wQgPiNUFWjIx7JjwBeEgk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CD133858430 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8CD133858430 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701077141; cv=none; b=RZkBv353KwVpz8H9FxFVXfjdlUdj9UkeLcChh/dgRWvUh8lDt406he7YqQMp3O5THD6+JtfDwRrnkSXCAJ+Gnjwc1uo9LCwRVIJANZCsX/KIsb4c/TyqxYKfh7YmZ+Xg+O3Cwe9My+g/fCxgwbV4f1t+BklptJbkjybvJQyJaLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701077141; c=relaxed/simple; bh=pHIGDx9e1UvZgyuEajHkI6SO5CtTEN+6W1/Wi0cOsi4=; h=Message-ID:Date:MIME-Version:From:Subject:To; b=k72+nhVWgPYnO2eagQQajB7GXMjY1SG1WiEfWsttzCsFjqdMgWqZOGjhc094VvjqY39sOePQgiv5RCZRlCnWQkspWdyAmdpsTcRWrskpF3N/xWFOxVjIVfJPr2JQGrIvSW+wnIqfLymkli/f4+TAJT2SZgGtBT+wCrerraxfwr0= ARC-Authentication-Results: i=1; server2.sourceware.org X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Message-ID: <24e43ec2-294d-4e2c-9201-f175c1e6f216@shaddybaddah.name> Date: Mon, 27 Nov 2023 20:25:29 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Command 'net user' outputs error message if PKA is used To: cygwin AT cygwin DOT com References: <3abab5ae56887051528edc1461d598c1f8acb435 AT itefix DOT net> Content-Language: en-GB In-Reply-To: <3abab5ae56887051528edc1461d598c1f8acb435@itefix.net> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Shaddy Baddah via Cygwin Reply-To: Shaddy Baddah 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" Hi, On 27/11/2023 7:51 pm, tk--- via Cygwin wrote: > Any idea why this is happening ? I suspect the reason is related to this long standing understanding of Cygwin: https://sourceware.org/legacy-ml/cygwin/2004-09/msg00087.html On 03/09/2004 2:13 am, Corinna Vinschen wrote: > Public Key authentication OTOH is *bypassing* the Windows authentication > mechanism, resulting in a very different access token attached to your > session. For one, there is no password attached and no network credentials, > so you don't have the same automagical access to network shares. Another > problem is that you didn't even start a logon session from WinNT's point of > view, which has a couple of interesting side effect. > > The bottom line is, if you need all the user's access rights use password > authentication. If that doesn't help, you're out of luck -- Hope that helps, Shaddy -- 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