{"id":2169,"date":"2013-07-07T11:37:59","date_gmt":"2013-07-07T03:37:59","guid":{"rendered":"http:\/\/rmohan.com\/?p=2169"},"modified":"2013-07-07T11:37:59","modified_gmt":"2013-07-07T03:37:59","slug":"how-to-prevent-the-reuse-of-old-passwords","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2169","title":{"rendered":"How to Prevent the reuse of old passwords"},"content":{"rendered":"<p><strong>For RHEL\/Fedora distribution\u00a0<\/strong><\/p>\n<p>To remember the last 5 passwords, add the line below to the file \/etc\/pam.d\/system-auth file:<\/p>\n<p>password sufficient \/lib\/security\/pam_unix.so use_authtok md5 shadow remember=5<\/p>\n<p><strong>For Debian\/ubuntu distribution<\/strong><\/p>\n<p>To remember the last 5 passwords, add the line below to the file \/etc\/pam.d\/common-password file:<\/p>\n<p>password sufficient \/lib\/security\/pam_unix.so use_authtok md5 shadow remember=5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For RHEL\/Fedora distribution <\/p>\n<p>To remember the last 5 passwords, add the line below to the file \/etc\/pam.d\/system-auth file:<\/p>\n<p>password sufficient \/lib\/security\/pam_unix.so use_authtok md5 shadow remember=5<\/p>\n<p>For Debian\/ubuntu distribution<\/p>\n<p>To remember the last 5 passwords, add the line below to the file \/etc\/pam.d\/common-password file:<\/p>\n<p>password sufficient \/lib\/security\/pam_unix.so use_authtok md5 shadow remember=5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2169"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2169"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2169\/revisions"}],"predecessor-version":[{"id":2170,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2169\/revisions\/2170"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}