UNIX nobody/nogroup mapping to which Windows SID/account?

Martin Wege martin.l.wege@gmail.com
Sun Mar 3 13:45:08 GMT 2024


Hello,

How can we map UNIX "nobody"/"nogroup" to Win32 SIDs/accounts? Cygwin
has entries for "nobody" in /etc/passwd and "nogroup" in /etc/group,
but these accounts have SIDs returned by /usr/bin/getent passwd and
/usr/bin/getent group which LookupAccountSidA() does not recognise.

So what is the correct Win32 solution?

Thanks,
Martin


More information about the Cygwin mailing list