Chapter 24 User/Group

24.2 User/Group Commands Summary

The following table identifies the values required for many username/groupname commands. Other input values are discussed with the corresponding commands.

Table 96 username/groupname Command Input Values

LABEL

DESCRIPTION

username

The name of the user (account). You may use 1-31 alphanumeric characters,

 

underscores(_), or dashes (-), but the first character cannot be a number. This

 

value is case-sensitive.

groupname

The name of the user group. You may use 1-31 alphanumeric characters,

 

underscores(_), or dashes (-), but the first character cannot be a number. This

 

value is case-sensitive. It cannot be the same as the user name.

The following sections list the username/groupname commands.

24.2.1 User Commands

The first table lists the commands for users.

Table 97 username/groupname Commands Summary: Users

COMMAND

DESCRIPTION

show username [username]

Displays information about the specified user or

 

about all users set up in the NXC.

username username nopassword user-type {admin

Creates the specified user (if necessary), disables

guest limited-admin user}

the password, and sets the user type for the

 

specified user.

username username password password user-type

Creates the specified user (if necessary); enables

{admin guest limited-admin user}

and sets the password; and sets the user type for

 

the specified user.

 

password: You can use 1-63 printable ASCII

 

characters, except double quotation marks (“) and

 

question marks (?).

 

 

username username user-type ext-group-user

Creates the specified user (if necessary) and sets

 

the user type to Ext-User.

username username user-type mac-address

Creates the specified user (if necessary) and sets

 

the user type to mac-address.

no username username

Deletes the specified user.

username rename username username

Renames the specified user (first username) to

 

the specified username (second username).

username username [no] description description

Sets the description for the specified user. The no

 

command clears the description.

 

description: You can use alphanumeric and

 

()+/:=?!*#@$_%- characters, and it can be up

 

to 60 characters long.

username username logon-time-setting <default

Sets the account to use the factory default lease

manual>

and reauthentication times or custom ones.

170

 

NXC CLI Reference Guide