View Issue Details

IDProjectCategoryView StatusLast Update
1677RackTablesdefaultpublic2016-08-29 12:10
Reportertan Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSCent OSOS Version6.8
Summary1677: Unable to login with admin account
DescriptionUnable to login with admin account and donot have any other alternate admin account for racktables
Steps To Reproduce1 allow {$page_file} and {$tab_download} and {regular user} and {image file}
2 allow {$page_file} and {$tab_download}
3 allow {$username_ana} and {$tab_default}
4 allow {$username_itsupport} and {$tab_default}

After changing the above 2nd line to the above one unable to login
TagsNo tags attached.

Activities

tan

tan

2016-08-27 07:57

reporter  

error.png (10,081 bytes)   
error.png (10,081 bytes)   
tan

tan

2016-08-29 12:10

reporter   ~0003443

It's possible to write RackCode that locks the administrator out, so you can't fix things the usual way. In most situations you can always log in as administrator and fix things, but it's possible to break even this. The following SQL code restores administrator access:

UPDATE Script SET script_text = NULL WHERE script_name = 'RackCodeCache';
UPDATE Script SET script_text = CONCAT('allow {$userid_1} ', script_text) WHERE script_name = 'RackCode';

Execute the above script at mysql

Please close the issue

Issue History

Date Modified Username Field Change
2016-08-27 07:57 tan New Issue
2016-08-27 07:57 tan File Added: error.png
2016-08-29 12:10 tan Note Added: 0003443
2016-08-29 12:10 tan Status new => closed
2016-08-29 12:10 tan Resolution open => fixed