Zhone 1813 Guia Do Utilizador

Página de 135
 
 
 
Command Line Interface User’s Guide 
The two access privileges are admin and ordin. The admin privilege provides full right including 
read and write accesses. The ordin privilege only allows reading and monitoring the parameters 
via http or cli. An ftp user must have an admin privilege.     
 
adduser 
adduser username -o -services [services] -permissions [permissions]  
services    : [cli/ftp/http] 
permissions : [admin/ordin] 
 
Adds a new user to the system. This command asks to set password for the user. Only 
administrators can use this command.  
EXAMPLE  
[1234 @ auth]$ adduser mrpizza -o -services cli -permissions ordin 
Enter password: 
Confirm password: 
User Name Succesfully Added. 
[1234 @ auth]$ 
 
deluser 
Deluser <username> 
Enter this command followed by the name of the user to be deleted. Only administrators can use 
this command.  
EXAMPLE 
[1234 @ auth]$ deluser mrpizza 
Successfully Deleted 
[1234 @ auth]$        
 
modifyuser 
modifyuser <username> -o 
-addservices <cli | ftp | http> 
-delservices <cli | ftp | http> 
-permissions <admin | ordin> 
 
The modifyuser command modifies the properties of a user’s account. 
1800-A2-GB20-00 
                  
21