Many times it happens that we modify the permissions of the admin user, and when wanting to verify some configurations or when wanting to modify some characteristics of the ScriptCase we can not have access since the permissions were changed.
So what we can do is change the permissions at the database level of the ScriptCase, for this we need an SQLite database administrator.
Can be downloaded here:
For Windows: https://github.com/sqlitebrowser/sqlitebrowser/releases
For Linux: https://sqlitebrowser.org/
When the administrator is installed, enter this route:
Windows: C:\Program Files\NetMake\v9\wwwroot\scriptcase\devel\conf\scriptcase
Linux: /opt/NetMake/v9/wwwroot/scriptcase/devel/conf/scriptcase
Search for the nm_scriptcase.db file:
Then, copy that file to a secure folder, to have a backup copy.
Open the copy with the SQLite administrator and check the data in the sc_tbusu (Search Data) table and modify the field called Privileges, and edit in the "priv_admin" section, it must be changed to "S":
Save the changes.
Copy the modified file, go to the folder:
- Windows: C:\Program Files\NetMake\v9[wwwroot](http://wwwroot/)\scriptcase\devel\conf\scriptcase
- Linux: /opt/NetMake/v9/wwwroot/scriptcase/devel/conf/scriptcase
Modify the name of the nm_scriptcase.db file to nm_scriptcase1.db that is inside the mentioned directory.
Paste the modified copy.
Then restart the apache.