set lastname
To specify the last name of a local user, use the set lastname command.
set lastname name
Syntax Description
The user’s surname; can be 0 to 32 characters.
name
Command Modes
Local user mode
Command History
ModificationRelease
Command added.1.1(1)
Example
This example shows how to enter security mode, create a new local user account, and then specify
a first name and a last name for that user.
FP9300-A# scope security
FP9300-A /security # create local-user test_user
FP9300-A /security/local-user* # set firstname john
FP9300-A /security/local-user* # set lastname doe
FP9300-A /security/local-user* # commit-buffer
FP9300-A /security/local-user #
DescriptionCommand
Creates a new local-user account.create local-user
Specifies the first name for a local user account.set firstname
Cisco Firepower 4100/9300 FXOS Command Reference
196
S Commands
set lastname