Cisco Cisco Packet Data Gateway (PDG)
Context Configuration Mode Commands A-D
▀ administrator
▄ Command Line Interface Reference, StarOS Release 18
2328
administrator
Configures a user with Security Administrator privileges in the current context.
Product
All
Privilege
Security Administrator
Mode
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx)#
Syntax
administrator user_name [ encrypted ] [ nopassword ] password password | [ ecs ] [
expiry-date date_time ] [ ftp [ sftp-server sftp_name ] ] [ li-administration ] [ nocli ]
[ noecs ] [ timeout-absolute timeout_absolute ] [ timeout-min-absolute
timeout_min_absolute ] [ timeout-idle timeout_idle ][ timeout-min-idle timeout_min_idle ]
expiry-date date_time ] [ ftp [ sftp-server sftp_name ] ] [ li-administration ] [ nocli ]
[ noecs ] [ timeout-absolute timeout_absolute ] [ timeout-min-absolute
timeout_min_absolute ] [ timeout-idle timeout_idle ][ timeout-min-idle timeout_min_idle ]
no administrator user_name
no
Removes Security Administrator privileges for the specified user name.
user_name
Specifies the username for which Security Administrator privileges must be enabled in the current context.
user_name
must be an alphanumeric string of 1 through 32 characters.
[ encrypted ] password password
Specifies password for the user name. Optionally, the
encrypted
keyword can be used to specify the
password uses encryption.
password
must be an alphanumeric string of 1 through 63 characters without encryption, and 1 through 132
characters with encryption.
The
The
encrypted
keyword is intended only for use by the system while saving configuration scripts. The
system displays the
encrypted
keyword in the configuration file as a flag that the variable following the
password
keyword is the encrypted version of the plain text password. Only the encrypted password is saved
as part of the configuration file.
[ nopassword ]
This option allows you to create an administrator without an associated password. Enable this option when
using ssh public keys (authorized key command in SSH Configuration mode) as a sole means of
authentication. When enabled this option prevents someone from using an administrator password to gain
access to the user account.
using ssh public keys (authorized key command in SSH Configuration mode) as a sole means of
authentication. When enabled this option prevents someone from using an administrator password to gain
access to the user account.