set account-status
To specify whether a local user account is active or inactive, use the
set account-status
command.
set account-status
{
active
|
inactive
}
Syntax Description
Specifies that the local user account is active.
active
Specifies that the local user account is disabled.
inactive
Command Modes
Local user (/security/local-user) mode
Command History
Modification
Release
Command added.
1.1(1)
Usage Guidelines
You must be a user with admin or AAA privileges to use this command.
The admin account is always set to active. It cannot be modified.
Example
This example shows how to enter local user mode and deactivate a local user account:
FP9300-A #
scope security
FP9300-A /security #
scope local-user test_user
FP9300-A /security/local-user #
set account-status inactive
FP9300-A /security/local-user* #
commit-buffer
FP9300-A /security/local-user #
Related Commands
Description
Command
Specifies the date on which the user account expires.
set expiration
Cisco Firepower 4100/9300 FXOS Command Reference
162
S Commands
set account-status
Summary of Contents for Firepower 4100 Series
Page 4: ...Cisco Firepower 4100 9300 FXOS Command Reference 2 About the FXOS CLI Command Reference Guide ...
Page 25: ...P A R T I A R Commands A C Commands on page 25 D R Commands on page 81 ...
Page 26: ......
Page 122: ...Cisco Firepower 4100 9300 FXOS Command Reference 120 A R Commands return ...
Page 124: ......
Page 236: ...Cisco Firepower 4100 9300 FXOS Command Reference 234 S Commands set vlan ...
Page 379: ...P A R T III T W Commands T W Commands on page 379 ...
Page 380: ......
Page 390: ...Cisco Firepower 4100 9300 FXOS Command Reference 388 T W Commands where ...
Page 391: ...P A R T IV connect shell Commands connect shell Commands on page 391 ...
Page 392: ......