]> git.ipfire.org Git - thirdparty/shadow.git/commit
* NEWS: Fix failures when the gshadow file is not present. Thanks
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 26 Feb 2008 19:09:10 +0000 (19:09 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 26 Feb 2008 19:09:10 +0000 (19:09 +0000)
commit2a2b2b3aa4347d0a5d1103d7771cb95784744b30
tree945c2daad5695ea110be3dae3249d7b3c7d15326
parentdb479122f3f110eb9d67470e7036717bc67592c4
 * NEWS: Fix failures when the gshadow file is not present. Thanks
   to Christian Henz (http://bugs.debian.org/467488)
 * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
   the group file and set the grent structure
 * src/gpasswd.c (check_perms): The permissions should be checked
   using both the gshadow and group file. Add a <struct group *>
   parameter, and check if the gshadow file exists (is_shadowgrp).
 * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
   the gshadow file is not present (sgent is not initialized in that
   case). The fields of sgent can be set, but not used.
ChangeLog
NEWS
src/gpasswd.c