Comments on: How to Enforce Password Policies in Linux (Ubuntu / CentOS) https://www.linuxtechi.com/enforce-password-policies-linux-ubuntu-centos/ Thu, 01 Jul 2021 14:11:12 +0000 hourly 1 By: Fahad https://www.linuxtechi.com/enforce-password-policies-linux-ubuntu-centos/#comment-23446 Thu, 01 Jul 2021 14:11:12 +0000 https://www.linuxtechi.com/?p=11019#comment-23446 In reply to Pradeep Kumar.

Thanks Pradeep

]]>
By: Pradeep Kumar https://www.linuxtechi.com/enforce-password-policies-linux-ubuntu-centos/#comment-22932 Wed, 31 Mar 2021 04:30:09 +0000 https://www.linuxtechi.com/?p=11019#comment-22932 In reply to Fahad.

Hi FAHAD,

Create a small script and use for loop in the script to run ‘passwd -e ‘ for hundred users.

]]>
By: Fahad https://www.linuxtechi.com/enforce-password-policies-linux-ubuntu-centos/#comment-22926 Tue, 30 Mar 2021 12:04:40 +0000 https://www.linuxtechi.com/?p=11019#comment-22926 I’ve enforced the above policy which is working fine for me. What if we need to expires hundred users to reset their passwords on next login? Because passwd -e user.name command will expire one user and for this command we need to provide a password to user so he can use this temp password to reset his / her new password at their first login.

Please assist, thanks in advance.

]]>