* mkgroup.c (main): Print "root" group with local admins group sid

and gid 0.
This commit is contained in:
Corinna Vinschen 2003-11-26 15:47:44 +00:00
parent cb55867514
commit f25babdf07
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-11-26 Corinna Vinschen <corinna@vinschen.de>
* mkgroup.c (main): Print "root" group with local admins group sid
and gid 0.
2003-11-19 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Add rules to build ipcrm and ipcs.

View File

@ -636,6 +636,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
*/