opasswd not update
by jong2ry from LinuxQuestions.org on (#5K7KS)
hi. everyone.
i set common-password
Quote:
i change local user password use passwd command.
i find old password list in /etc/security/opasswd
Quote:
i change passwd local user through sudo command. but not update opasswd file.
Quote:
why not update opasswd file???
i set common-password
Quote:
password[success=1 default=ignore]pam_unix.so obscure sha512 remember=5 |
i find old password list in /etc/security/opasswd
Quote:
$ sudo cat /etc/security/opasswd test:1001:3:$1$yQw9PhwD$LqytlUASvFueam5tScGX0/,$1$yBoPDiGO$H.HIozf2bRWlSscVe0U1M0,$1$Akzyo7eY$PeO.6NPjsUbKkPku5YtAJ0 |
Quote:
$ sudo passwd test Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully test@ip-172-31-14-14:~$ sudo cat /etc/security/opasswd test:1001:3:$1$yQw9PhwD$LqytlUASvFueam5tScGX0/,$1$yBoPDiGO$H.HIozf2bRWlSscVe0U1M0,$1$Akzyo7eY$PeO.6NPjsUbKkPku5YtAJ0 |