locked out admin

Moderator: crythias

Post Reply
renscoulier
Znuny newbie
Posts: 9
Joined: 07 Jan 2015, 09:16
Znuny Version: versie 4
Real Name: Rens Coulier

locked out admin

Post by renscoulier »

Hello,

Just did the most stupidest thing.

I was testing/experimenting with settings and somehow I denied the admin acces of the root account and the admin account.
Is there a way to recover those settings?

I tried to access the admin pannel, but i'm locked out all the way.

Please help
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: locked out admin

Post by RStraub »

Run the script "otrs.AddUser2Group.pl" located in $OTRSHOME/bin/

The group you want your login added to, is called "admin".
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
renscoulier
Znuny newbie
Posts: 9
Joined: 07 Jan 2015, 09:16
Znuny Version: versie 4
Real Name: Rens Coulier

Re: locked out admin

Post by renscoulier »

could you give me a brief explanation on how to do this with the appliance version?
open the shell and then?
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: locked out admin

Post by RStraub »

Try to run this:

Code: Select all

/opt/otrs/bin/otrs.AddUser2Group.pl -g admin -u root@localhost -p rw
Where root@localhost can be replaced with the login you locked yourself out.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
renscoulier
Znuny newbie
Posts: 9
Joined: 07 Jan 2015, 09:16
Znuny Version: versie 4
Real Name: Rens Coulier

Re: locked out admin

Post by renscoulier »

thanks man.
Fixed it for me.

:)
Post Reply