* mkgroup.c (main): Don't print an entry for "Everyone".

* mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
	(main): Don't print an entry for "Everyone".
This commit is contained in:
Corinna Vinschen 2002-08-02 11:14:35 +00:00
parent 23d93d8db7
commit 32c803daa2
3 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-08-02 Corinna Vinschen <corinna@vinschen.de>
* mkgroup.c (main): Don't print an entry for "Everyone".
* mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
(main): Don't print an entry for "Everyone".
2002-07-06 Christopher Faylor <cgf@redhat.com> 2002-07-06 Christopher Faylor <cgf@redhat.com>
* configure.in: Check for libiconv.a. * configure.in: Check for libiconv.a.

View File

@ -567,11 +567,14 @@ main (int argc, char **argv)
return 1; return 1;
} }
#if 0
/* /*
* Get `Everyone' group * Get `Everyone' group
*/ */
print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID, print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID,
0, 0, 0, 0, 0, 0, 0); 0, 0, 0, 0, 0, 0, 0);
#endif
/* /*
* Get `system' group * Get `system' group
*/ */

View File

@ -386,7 +386,7 @@ print_special (int print_sids,
else else
rid = sub1; rid = sub1;
printf ("%s:*:%lu:%lu:%s%s::\n", printf ("%s:*:%lu:%lu:%s%s::\n",
name, rid, rid, name, rid, rid == 18 ? 544 : rid, /* SYSTEM hack */
print_sids ? "," : "", print_sids ? "," : "",
print_sids ? put_sid (sid) : ""); print_sids ? put_sid (sid) : "");
} }
@ -573,13 +573,15 @@ main (int argc, char **argv)
return 1; return 1;
} }
if (disp_username == NULL)
{
#if 0
/* /*
* Get `Everyone' group * Get `Everyone' group
*/ */
if (disp_username == NULL)
{
print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID, print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID,
0, 0, 0, 0, 0, 0, 0); 0, 0, 0, 0, 0, 0, 0);
#endif
/* /*
* Get `system' group * Get `system' group
*/ */