Net Optics Director User Manual

Page 52

Advertising
background image

Director

48

Command Sub-Command Arguments

Example and description

time

<time>

time 13:02:00

Arguments:

<time> is hh:mm:ss

Sets the system time-of-day; if <time> is omitted, the
current time is displayed

upgrade

srvip=<svrip>
user=<username>
pw=<passwd>
file=<filename>

Note: All four arguments are
required

upgrade srvip=168.192.20.2 user=bob pw=bobpw
file=image021108

Arguments:

<svrip> is the IP address of the server that the
new image file is on
<username> is the user name needed for FTP
access to the server
<passwd> is the password needed for FTP
access to the server
<filename> is the name of the image file

Replaces the backup system boot image (the one
that is not the current image) with the image in the
specified file (see image command)

user

This
command
is only
available
at root
level

add

name=<username>
pw=<password>
priv=<level>

Note: All three arguments are
required

user add name=bob pw=bob-pw priv=3

Arguments:

<username> is the username, a

string

<password> is the password, a

string

<level> is 1, 2, or 3 (other values not applicable);
1=root; 2=admin; 3=user

Creates a new user account

del

name=<username>

user del name=bill

Arguments:

<username> is the user name of the account you
wish to delete

Deletes a user account

mod

name=<username>
pw=<password>
priv=<level>

Note: All three arguments are
required

user mod name=bill pw=billpw priv=2

Arguments:

<username> is the user name of the account you
want to change, a

string

<password> is the new password for the account
to, a

string

<level> is 1, 2, or 3 (other values not applicable);
1=root; 2=admin; 3=user

Modifies a user account

show

user show

Lists all the currently defined user accounts

Advertising