No root available

Moderator: crythias

Locked
aboll
Znuny newbie
Posts: 3
Joined: 12 Dec 2014, 12:41
Znuny Version: 3.3.10
Real Name: Alex
Company: TPS

No root available

Post by aboll »

Hello,

I started OTRS for a few days. I've tried to configure OTRS the best i can do but today, i've made a huge mistake.

My situation :

I started to use OTRS with superuser and renamed it to "user1" (for exemple). Then i configured groups and i've put "user1" (who was superuser) in a group who did NOT have superuser policies...

Now, i don't have any account to use to connect myself for administration...I only have "Agents" and no superuser...

I've tried to log in with default logins witch as "root@localhost" pass: "root" but it did not works...

How can i get my access to superuser back?

Thank you so much for reading, i apologise for my bad english, it is not my main language!
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: No root available

Post by reneeb »

If you've renamed the superuser, you should login with the new username "user1".
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
aboll
Znuny newbie
Posts: 3
Joined: 12 Dec 2014, 12:41
Znuny Version: 3.3.10
Real Name: Alex
Company: TPS

Re: No root available

Post by aboll »

Yes but now the "user1" is considered as an agent so i can't do stuff that a admin can do...
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: No root available

Post by reneeb »

On commandline:

Code: Select all

cd $OTRS_HOME
perl bin/otrs.AddUser2Group.pl -u user1 -g admin -p rw
Edit: instead of $OTRS_HOME, you have to use the name of the directory where your OTRS is.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
aboll
Znuny newbie
Posts: 3
Joined: 12 Dec 2014, 12:41
Znuny Version: 3.3.10
Real Name: Alex
Company: TPS

Re: No root available

Post by aboll »

Ho man... Thank you so much !! It works !!
Locked