ACCOUNT_ROOT

 

Description

Get or set root-level account name and password. Only root has authorized to execute this command.

Only the root-level account could have right to get or set all settings in the device. The user-level account could get the video and audio stream and some system information only.

If the CHANNEL=n was set with this URL to the multiple channel video encoders, this URL is read-only command and the Router's root ACCOUNT settings will be returned.

Input Argument

n,m
where
n  : Character string (<32 bytes) for root account name
m : Character string (< 64 bytes) for root account password
The valid characters for account name are defined in the Valid Character in Login Name section in Valid Characters in URI document.
The valid characters for account password are defined in the Valid Character in Login Password in Valid Characters in URI document.
Note: The root account name and password must be valid strings. They are not allow to be NULL.

Attribute

Return of Message

ACCOUNT_ROOT='aaaa,1111111'
OK: ACCOUNT_ROOT='aaaa,1111111'
or
ERROR: ACCOUNT_ROOT='aaaa,1111111'

Applicability

Status

This URL is new command for replacing the URL ACCOUNT_ROOT_NAME and ACCOUNT_ROOT_PASSWORD

See Also

ACCOUNT, ACCOUNT_ROOT_NAME, ACCOUNT_ROOT_PASSWORD, ACCOUNT_USER_NAME_N, ACCOUNT_USER_PASSWORD_N, ACCOUNT_USER_N

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_ROOT
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_ROOT
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_ROOT=aaaa,111111
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_ROOT=aaaa,111111

Back to

HOME, SYSTEM CGI