Howto:Change the default admin password in the config file?: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Admin passwords of the innovaphone devices are saved encrypted per default, if changed via Web GUI. In case you change the password via Update Server or manually in config file, the password will be not encrypted, until <code>config change CMD0</code> command is performed to enncrypt it.  
If you need to set the admin account and password using the command line (e.g. in an update script), you can use the <code>config add /user account,password</code> function. The syntax is the same since firmware V5.
 
The syntax is the same in V5 and V6


example configuring via the browser:
example configuring via the browser:
Line 8: Line 6:
  x.x.x.x/!config activate
  x.x.x.x/!config activate


From this point on, the new account settings are active.  Admin passwords of the innovaphone devices are stored in a hidden fashion so it can not be retrieved.
However, if you use this configuration option, the accoutn and password information is practically available in clear text in the <code>confgi change CMD0 ...</code> line.


If you then look to the config file -  then you see that the password is not encrypted.
To remove this clear text information from the configuration file, you need to perform some additional commands:
 
To encrypt the password (also for the config file that you can´t read it from there in clear text)


  x.x.x.x/!config rem CMD0 /user
  x.x.x.x/!config rem CMD0 /user
  x.x.x.x/!config activate
  x.x.x.x/!config activate


Please note that there is no need to save the configuration to flash (i.e. perform a <code>config write</code> operation).  However, if you have done a save to flash after setting the <code>/user</code> option, then you also need to save it after removing it with <code>config rem</code>.
==Related Articles==
==Related Articles==



Revision as of 09:59, 16 July 2014

If you need to set the admin account and password using the command line (e.g. in an update script), you can use the config add /user account,password function. The syntax is the same since firmware V5.

example configuring via the browser:

x.x.x.x/!config change CMD0 /user admin,ip230
x.x.x.x/!config activate

From this point on, the new account settings are active. Admin passwords of the innovaphone devices are stored in a hidden fashion so it can not be retrieved. However, if you use this configuration option, the accoutn and password information is practically available in clear text in the confgi change CMD0 ... line.

To remove this clear text information from the configuration file, you need to perform some additional commands:

x.x.x.x/!config rem CMD0 /user
x.x.x.x/!config activate

Please note that there is no need to save the configuration to flash (i.e. perform a config write operation). However, if you have done a save to flash after setting the /user option, then you also need to save it after removing it with config rem.

Related Articles

Howto:Upload configuration file to device with changed or different admin password