0
Answered

hELP!! Need to reset password - tried almost everything suggested here

Runya 5 years ago updated 5 years ago 2
I changed the login in Ajenti to Sync with OS. And its been the worst decision i made today. The os user didnt have plugins allowed and i couldnt login with the original root password. I have tried a number that i have seen on these forums to reset password without success. I have edited the config.json file with a plain password and i am still not able to login. Please help.

Answer

+1
Answer
Answered
Hi, passwords in config.json don't have any effect because OS sync is active.
1. You can disable it by changing users->root->configs->ajenti.users.UserManager->sync-provider to an empty string (i.e., \"\").
2. Or alternatively, give your users permissions by changing users->...->permissions to e.g.:

            "permissions": [
                "section:Dash",
                "section:Configurator",
                "configurator:configure",
                "configurator:restart"
            ]
From that you'll be able to add more permissions with this user.
Don't forget to restart Ajenti after editing config file.
+1
Answer
Answered
Hi, passwords in config.json don't have any effect because OS sync is active.
1. You can disable it by changing users->root->configs->ajenti.users.UserManager->sync-provider to an empty string (i.e., \"\").
2. Or alternatively, give your users permissions by changing users->...->permissions to e.g.:

            "permissions": [
                "section:Dash",
                "section:Configurator",
                "configurator:configure",
                "configurator:restart"
            ]
From that you'll be able to add more permissions with this user.
Don't forget to restart Ajenti after editing config file.
it works. thank you so much for your help. I am now having a different problem. will post separately since its not lrealted to this.once again, thanks