Howto:Change the default admin password in the config file?

From innovaphone wiki
Revision as of 10:37, 16 July 2014 by Ckl (talk | contribs)
Jump to navigation Jump to search

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 has not changed since firmware V5.

example update script snippet:

config change CMD0 /user admin,ip230
config activate

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

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

config rem CMD0 /user
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