The "TrustedInstaller" user can not be found by ID

Andrey Repin anrdaemon@yandex.ru
Wed Jul 6 10:32:09 GMT 2022


Greetings, All!

Been doing some housekeeping in my Cygwin installation at work, and wanted to
change the owner of the files to something other than myself.
TrustedInstaller seemed like a good neutral target, but it took me a little
while to find out it is

1. …named "NT SERVICE+TrustedInstaller" actually (which is predictable
somewhat);
$ getent passwd | grep -i trust
NT SERVICE+TrustedInstaller:*:328384:328384:U-NT SERVICE\TrustedInstaller,S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:/:/sbin/nologin

2. …can not be accessed by any other name (unlike "NT AUTHORITY\SYSTEM");
$ getent passwd System
system:*:18:18:U-NT AUTHORITY\system,S-1-5-18:/home/system:/bin/bash
$ getent passwd 18
система:*:18:18:U-NT AUTHORITY\система,S-1-5-18:/home/система:/bin/bash

3. …can not be accessed by ID! Which is rather surprising.
$ getent passwd 328384
[2] <- user not found

Is this some special case of some kind of Windows' kinks?


-- 
With best regards,
Andrey Repin
Wednesday, July 6, 2022 13:22:14

Sorry for my terrible english...


More information about the Cygwin mailing list