10 printf("uid=%d gid=%d euid=%d egid=%d\n",
11 getuid(), getgid(), geteuid(), getegid());
13 /* Can no longer use this because on different systems, the supplemental
14 groups will be different. */
17 printf("supplemental groups: ");
18 count
= getgroups(100, grouplist
);
19 for (i
= 0; i
< count
; i
++) printf("%d ", grouplist
[i
]);