HP (Hewlett-Packard) M208 Switch User Manual


 
USING THE M208’S COMMAND SET: npsh Command Set 117
set user
set user add|delete
userid
Define a new user or delete a current one. userid is the user’s login ID.
Caution
Any user can be deleted so be careful using this command. You might delete
all the root user types. If this happens, configuration capability is no longer
available through any of the normal methods. Instead, you must set the unit
back to defaults with the jumper settings. Please see Restoring To Factory
Defaults on page 135.
set user passwd
userid
[
password
]
Set a password for a specific user. userid is the user’s login ID. password is
the desired password for this user. password must be less than eleven charac-
ters and if it is not included in the syntax, the user’s password is cleared.
If you forget the root password, you can use a TCP/IP host and RSHD as
superuser to set the users back to factory defaults (set user from default) or
you can use the jumper method mentioned in Restoring To Factory Defaults
on page 135.
set user type
userid
root|guest
Set a user with guest or root permissions. userid is the user’s login ID.
See also: list user on page 102, list logins on page 100, and User Accounts
and Permissions on page 94.
set var
set var
varname string
Create a named variable with a specific string. string is a space-separated list
of words, hex numbers (e.g. 0x04), and references to other variables or con-
stants.
Note