Command 'net user' outputs error message if PKA is used

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Mon Nov 27 09:25:29 GMT 2023


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



More information about the Cygwin mailing list