View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1677 | RackTables | default | public | 2016-08-27 07:57 | 2016-08-29 12:10 |
Reporter | tan | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Cent OS | OS Version | 6.8 |
Summary | 1677: Unable to login with admin account | ||||
Description | Unable to login with admin account and donot have any other alternate admin account for racktables | ||||
Steps To Reproduce | 1 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 | ||||
Tags | No tags attached. | ||||
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 |
|