Table of contents
Created
5 November 2012
To change or reset a password, use one of the following methods:
- Administrator Console
- Command line
- Admin API
- Log in to the Administration Console as the server administrator.
- Click Manage Users.
- Select the user whose password you wish to change or reset.
- Select ”Reset the password for this user.”
- Enter the new password and select “Reset Password.”
<Root><PasswordPolicy enable="false"></PasswordPolicy></Root>
- Open a command window.
- Change directories to the Adobe Media Server installation directory:
(default) /opt/adobe/ams - Stop Adobe Media Server and Adobe Media Administration Server.
- Enter the following command:
./amsadmin -console -user <username>
- Enter a minimum eight character password.
Alternatively, you can specify the password in the command line as follows:
./amsadmin -console -user <username> -password <password>
- Open a command window.
- Change directories to the Adobe Media Server installation directory:
(default) C:\Program Files\Adobe\Adobe Media Server 5 - Stop Adobe Media Server and Adobe Media Administration Server.
- Enter the following command:
amsadmin -console -user <username> - Enter a minimum eight character password.
amsadmin -console -user <username> -password <password>
#!/bin/bash echo "Changing password" ./amsadmin -console -user admin -password `echo $1` echo "Password changed"
changePswd(admin_name:String, password:String [,scope:String]) : Object
HTTP
http://www.example.com:1111/admin/changePswd?auser=username&apswd=password&username=name &password=password[&scope=scope]
adaptor_name/virtual_hostname
. To change a server administrator’s password, specify server.
<result>
<level></level>
<code></code>
<timestamp></timestamp>
</result>
The XML elements contain the same information as the Object properties returned in an RTMP/E call.
nc_admin = new NetConnection();
nc_admin.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
nc_admin.connect("rtmp://localhost:1111/admin", "JLee", "x52z49ab");
function onStatus(event:NetStatusEvent):void{
if(event.info.code==”NetConnection.Connect.Success){
/* Change password for server administrator named "ASilva" to "cbx5978y" */
nc_admin.call("changePswd", new onChangePswd(), "ASilva", "cbx5978y", "server");
/* Change password for virtual host administrator "JLee" to "kbat3786" on */
/* virtual host "tree.oak.com" */
nc_admin.call("changePswd", new onChangePswd(), "JLee", "kbat3786",
"_defaultRoot_/tree.oak.com");
}
}