Configuring local users in Fortigate firewalls SSL VPN for email MFA, password expiration and password complexity requirements

Subject: Configuring local users in Fortigate firewalls SSL VPN for email MFA, password expiration and password complexity requirements


Good day from Singapore,


Author: Mr. Turritopsis Dohrnii Teo En Ming

Country: Singapore

Date of document: 23 Nov 2025 Sunday


config user password-policy

edit "passwordpolicy"

set expire-days 90

set warn-days 5

set expired-password-renewal disable

set expire-status enable

set minimum-length 12

set min-lower-case-letter 1

set min-upper-case-letter 1

set min-non-alphanumeric 1

set min-number 1

set reuse-password disable

next

end


config user local

edit "agent1.local"

set passwd-policy "passwordpolicy"

next

end


config user local

edit "agent2.local"

set passwd-policy "passwordpolicy"

next

end


config user local

edit "agent3.local"

set passwd-policy "passwordpolicy"

next

end


config user local

edit "agent4.local"

set passwd-policy "passwordpolicy"

next

end



config user local

    edit "agent1.local"

        set type password

        set two-factor email

        set email-to "agent1@secretservice.gov"

        set passwd-policy "passwordpolicy"

        set passwd-time 2025-11-20 09:55:27

        set passwd ENC 

    next

end


config user local

    edit "agent2.local"

        set type password

        set two-factor email

        set email-to "agent2@secretservice.gov"

        set passwd-policy "passwordpolicy"

        set passwd-time 2025-11-21 14:04:45

        set passwd ENC 

    next

end


config user local

    edit "agent3.local"

        set type password

        set two-factor email

        set email-to "agent3@secretservice.gov"

        set passwd-policy "passwordpolicy"

        set passwd-time 2025-11-19 11:55:34

        set passwd ENC 

    next

end


config user local

    edit "agent4.local"

        set type password

        set two-factor email

        set email-to "agent4@secretservice.gov"

        set passwd-policy "passwordpolicy"

        set passwd-time 2025-11-21 14:01:47

        set passwd ENC 

    next

end


Regards,


Mr. Turritopsis Dohrnii Teo En Ming

Singapore

23 Nov 2025 Sunday 3.00 PM Singapore Time




REFERENCES

============


[1] https://sourceforge.net/p/net-snmp/mailman/message/59262933/


[2] https://mail-archive.com/net-snmp-users@lists.sourceforge.net/msg33547.html


[3] https://marc.info/?l=net-snmp-users&m=176388077210755&w=2

Comments

Popular posts from this blog

How the Singapore Government cheated my family of a HDB flat (Draft 22 Aug 2023)

Estimated Total Expenses in Taiwan from 6 Aug 2025 to 12 Aug 2025 (Version 15 Aug 2025)