How are shadow files updated?
I have installed redhat 8.0. Created several user accounts with passwords. I find files such as passwd and passwd-, shadow and shadow-, gshadow and gshadow-. Each group does not seem to be in sync. Example:
/etc/passwd has 2,382 characters
/etc/passwd- has 2,344 characters and does not contain the last user generated by the adduser utility.
My questions are:
* When and how are these files updated to reflect each other.
* How are they used in a recovery mode, what triggers their use.
|