Comentários (3)

1 AnthonyEnglish comentou às Link permanente

Great piece of detective work, Brian. I suppose the "o" prefix in opasswd and ogroup stands for old. <div>&nbsp;</div> I see that from the documentation for the usrck command ( that it "verifies that each user name listed in the /etc/passwd file has a stanza in the /etc/security/user, /etc/security/limits and /etc/security/passwd files. The usrck command also verifies that each group name listed in the /etc/group file has a stanza in the /etc/security/group file." <div>&nbsp;</div> The -n flag for usrck reports errors but doesn't fix them. I wonder if this still creates an opasswd file. Same deal with grpck -n. Does it create an /etc/ogroup file? <div>&nbsp;</div> Anthony

2 brian_s comentou às Link permanente

When used with the "-n" flag it doesn't look like they create the backup files. The grpck command doesn't appear to make the /etc/ogroup backup ever, which seems inconsistent since usrck and pwdck do make the backups.

3 MirceaVutcovici comentou às Link permanente

The /etc/security/opasswd file is used also by pam_cracklib to keep the history of old passwords so that the user will not reuse them.