| Description | This article describes how to set a password expiration for specific admin accounts on FortiGate, while having another admin account that does not have the expiration policy. It also explains how to check the expiry date and provides information on alerting for password expiration. | 
| Scope | FortiGate | 
| Solution | To configure admin password expiration on FortiGate, follow these steps: 
 Enable password-policy using the following commands: 
 config system password-policy 
 This will automatically apply the password expiry date to all administrator account. 
 
 config sys admin 
 
 edit <admin-username> show 
 Note: | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.