don't fetch supplementary groups for root to prevent timeouts (#357233)
authorLudwig Nussel <ludwig.nussel@suse.de>
Thu, 31 Jan 2008 14:55:05 +0000 (14:55 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Thu, 31 Jan 2008 14:55:05 +0000 (14:55 +0000)
commit0b19c3e39c0fd9545e776f8b343ed2d41cde13ac
tree5aab78d7a244827f48d2ac755a166eae22764c7b
parentdc9f0f31f1bdf29f4ea6a7a04986d4053e740b68
don't fetch supplementary groups for root to prevent timeouts (#357233)

also use getgrouplist() instead of getgrent() for performance reasons

git-svn-id: https://forgesvn1.novell.com/svn/resmgr/trunk@155 8c93e3de-82f9-0310-af12-e4d65c99fa26
src/utils.c