Having a hard time resetting my admin password

Moderator: crythias

Locked
kitono
Znuny newbie
Posts: 4
Joined: 13 Mar 2014, 21:51
Znuny Version: 1.0.5

Having a hard time resetting my admin password

Post by kitono »

So for some reason I can't log in to my admin through the web gui. I do have the password to access the appliance's shell.
I tried the OTRS_HOME/bin/otrs.SetPassword.pl root at localhost password123
command line but I just get an error like it doesn't recognize the command or directory.
I don't use shell much so I'm sure I'm missing something... How can I reset my password? (email isn't set up on the server either)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Having a hard time resetting my admin password

Post by crythias »

literally, it'd be

Code: Select all

/opt/otrs/bin/otrs.SetPassword.pl root@localhost password123
(assuming /opt/otrs/bin/otrs.SetPassword.pl is the proper path.)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kitono
Znuny newbie
Posts: 4
Joined: 13 Mar 2014, 21:51
Znuny Version: 1.0.5

Re: Having a hard time resetting my admin password

Post by kitono »

This is really odd,
So I typed in the line referenced and managed to change the password for admin and another user according to the shell "Done."
However when I try to log in on the web gui it still tells me invalid password...help!
p.s. I think I made some kind of mistake by removing the root@localhost login and renaming it admin. Ever since I did that I have been unable to log in at all.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Having a hard time resetting my admin password

Post by crythias »

kitono wrote: I think I made some kind of mistake by removing the root@localhost login and renaming it admin.
good to know.

Code: Select all

/opt/otrs/bin/otrs.SetPassword.pl admin password123
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kitono
Znuny newbie
Posts: 4
Joined: 13 Mar 2014, 21:51
Znuny Version: 1.0.5

Re: Having a hard time resetting my admin password

Post by kitono »

Yeah I tried that and it said it changed the password but it's still not working when I try to log in on the web gui.
Is there any way to add a new user through the shell or rename admin back to the root@localhost?
Last edited by kitono on 14 Mar 2014, 18:15, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Having a hard time resetting my admin password

Post by crythias »

you're logging in at index.pl, right?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kitono
Znuny newbie
Posts: 4
Joined: 13 Mar 2014, 21:51
Znuny Version: 1.0.5

Re: Having a hard time resetting my admin password

Post by kitono »

WOW talk about a FREAKING oversight!!!
Thank you, that fixed it...hahaha...
Locked