To change the password for the admin account, LiveConfig can be called up with the --init
argument. The new password must be passed in the environment variable LCINITPW
. Similarly, a password for the SOAP API can be set up using the LCINITSOAP
environment variable.
Example:
#> LCINITPW=PaSsWoRt /usr/sbin/liveconfig --init
/usr/sbin/liveconfig: LiveConfig initialization; using configuration from /etc/liveconfig/liveconfig.conf
/usr/sbin/liveconfig: Database driver loaded: SQLite (3.7.9)
/usr/sbin/liveconfig: Password updated successfully.