Update the group database before flushing the nscd caches.
This commit is contained in:
@@ -1529,12 +1529,12 @@ int main (int argc, char **argv)
|
||||
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 ();
|
||||
|
||||
|
Reference in New Issue
Block a user