Raritan Computer SX4 用户手册
142 D
OMINION
SX
I
NSTALLATION AND
O
PERATIONS
M
ANUAL
ampadduser
Creates a new user account or edit an existing user account. The last argument is optional.
Creates a new user account or edit an existing user account. The last argument is optional.
Usage: ampadduser <loginname> <function> <user_name> <password>
<portpermission> [information]
•
Loginname: user login name
•
Function: type of user (administrator, operator, observer)
•
User_name: name of user; if there are spaces in the name, the name must be entered in quotes
•
Password: password
•
Port permission: ports the person will have access to. For administrator type, use “” for port
permission parameter.
•
Information (optional): information field; if there are spaces the content must be in quotes
% ampadduser pwright observer "Patrick Wright" pass1285 1:2:3:4 "Unix System
Administrator in Training"
user pwright set
% ampsave
save complete
%ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones Patrick Wright
% ampgetuser "Patrick Wright"
userid:1
loginname:pwright
capability:observer
username:Patrick Wright
userinfo:Unix System Administrator in Training
Ports:1:2:3:4
%
Administrator in Training"
user pwright set
% ampsave
save complete
%ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones Patrick Wright
% ampgetuser "Patrick Wright"
userid:1
loginname:pwright
capability:observer
username:Patrick Wright
userinfo:Unix System Administrator in Training
Ports:1:2:3:4
%
amprmuser
Deletes the named user account.
Deletes the named user account.
Usage: amprmuser <user_name>
•
User_name: user name to be removed. If there are spaces in the name then the name should appear in
quotes i.e. “John Doe”
% amprmuser "Patrick Wright"
user deleted
% ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones Patrick Wright
% ampsave
save complete
% ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones
%
user deleted
% ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones Patrick Wright
% ampsave
save complete
% ampgetuser
Users: Steve Gaumer John Smith Michael White Fredrick Jones
%
ampsave command
required for changes
to take effect.
required for changes
to take effect.
User not removed
because ampsave
command has not
been executed.
because ampsave
command has not
been executed.