summaryrefslogtreecommitdiffstats
path: root/winsup/utils/mkgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/mkgroup.c')
-rw-r--r--winsup/utils/mkgroup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c
index d6a5092ec..82039e58c 100644
--- a/winsup/utils/mkgroup.c
+++ b/winsup/utils/mkgroup.c
@@ -637,6 +637,14 @@ main (int argc, char **argv)
if (print_local)
{
/*
+ * Very special feature for the oncoming future:
+ * Create a "root" group account, being actually the local
+ * Administrators group. Since user name, sid and gid are
+ * fixed, there's no need to call print_special() for this.
+ */
+ printf ("root:S-1-5-32-544:0:\n");
+
+ /*
* Get `system' group
*/
print_special (print_sids, &sid_nt_auth, 1, SECURITY_LOCAL_SYSTEM_RID,