So in attempts to locking down the "guest" account. I accidentally removed most access rights from from the "admin" account.
Any thoughts on how to return the Admin account rights back to default?
Admin account botched
Moderators: Developers, Moderators
Re: Admin account botched
Assuming you are on 1.1.30, try the following code:
Code: Select all
php -r 'echo "Hash: ".password_hash('test',PASSWORD_DEFAULT)."\n";';
Hash: <hash>
mysql -u <cacti_db_user> -p <cacti_db_name> -e "REPLACE INTO user_auth VALUES (1,'admin','<hash>',0,'Administrator','','on','on','on','on','on','on',2,1,1,1,1,'on',-1,-1,'-1','',0,0,0);"
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 0 guests