You may need to change the up.time Admin user password as part of a regular password rotation if the password has been forgotten or if the previous administrator has left the company.
Since user passwords are encrypted and stored in the up.time DataStore, you will need to access the DataStore and use a SQL UPDATE statement to change the password.
Note:The MySQL database is the default up.time database.
Changing the Password in MySQL
cd <uptime_dir>/mysql/bin
where <uptime_dir> is the directory in which up.time is installed.
mysql -uuptime -puptime -P3308 --protocol=tcp uptime
UPDATE users SET password = SHA1("NEWPASSWORD") WHERE username = "admin";
where NEWPASSWORD is the updated password for the admin user in up.time.
exit;
Changing the Password in MS SQL or Oracle
UPDATE users SET password = '6772c61c438ad4ab8964f628de685f4879c55f55'
WHERE username = 'admin'; COMMIT;