Configure an account to disable automatically

When creating or editing an account, you can specify when the account automatically disables after it is not used (active) for a configured period of time.

There might be instances when you would like to automatically disable an account when the account is inactive for some set period of time. Inactivity means that the account has not been used, in the recent past, to access this device. Use the acct-inactivity-expiry-period parameter to configure the number of days after which the account is automatically disabled (expires).

Note

Note

The root and admin accounts cannot be disabled.

SNMP traps are generated for this event. For more information, see the Extreme Message Reference, 20.3.3. The traps generated are SEC-3138 and SEC-3139.

  1. In privileged EXEC mode, enter the configure terminal command.
    SLX # configure terminal
                        
  2. Enter the username command with the acct-inactivity-expiry-period parameter along with the number of days of inactivity, after which the account will automatically be disabled.
    SLX (config)# username aming role user password Tijdlspw acct-inactivity-expiry-period 30
                        
    The account aming is now configured to automatically expire after 30 continuous days of inactivity. This is calculated from the day the account was created or from the last login. Expiry RASLOG is generated when time crosses the acct inactivity expiry period.