The usermod utility reads password and shadow entries before these files are locked. This happens in process_flags to see if any actions have to be performed.
While it's kind of okay to prevent unneeded operations, the actual content AFTER the lock should be compared again.
I leave this as an issue for now before this gets into the way of existing PRs.
The usermod utility reads password and shadow entries before these files are locked. This happens in
process_flagsto see if any actions have to be performed.While it's kind of okay to prevent unneeded operations, the actual content AFTER the lock should be compared again.
I leave this as an issue for now before this gets into the way of existing PRs.