+2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
+
+ * NEWS, src/usermod.c: Update the group database before flushing
+ the nscd caches.
+
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/userdel.c: Abort if an error is found while updating the
(https://bugzilla.redhat.com/show_bug.cgi?id=240915)
- userdel: Abort if an error is detected while updating the passwd or group
databases. The passwd or group files will not be written.
+- usermod: Update the group database before flushing the nscd caches.
shadow-4.0.18.1 -> shadow-4.0.18.2 28-10-2007
usr_update ();
close_files ();
- nscd_flush_cache ("passwd");
- nscd_flush_cache ("group");
-
if (Gflg || lflg)
grp_err = grp_update ();
+ nscd_flush_cache ("passwd");
+ nscd_flush_cache ("group");
+
if (mflg)
move_home ();