User root@localhost

Moderator: crythias

Locked
fornazieri
Znuny newbie
Posts: 2
Joined: 06 Apr 2011, 19:47
Znuny Version: 3.0 Beta 5
Real Name: Fernando Fornazieri
Company: Yamaha Motor da Amazonia

User root@localhost

Post by fornazieri »

Hello, I installed version 3.0 with MSSQL, all procresso finalizdo was successful, but the user "root @ localhost" with the initial password does not work.

Is there any way to change this password?

Best regards

Fernando Fornazieri
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: User root@localhost

Post by crythias »

This is the initial database insert command:

Code: Select all

INSERT INTO users (id, first_name, last_name, login, pw, valid_id, create_by, create_time, change_by, change_time)
    VALUES
    (1, 'Admin', 'OTRS', 'root@localhost', 'roK20XGbWEsSM', 1, 1, current_timestamp, 1, current_timestamp);
so if you figure out:

Code: Select all

UPDATE users set pw='roK20XGbWEsSM' where id='1' LIMIT 1;
It should probably work. YMMV. Don't mess with database directly unless you know what you're doing, backup first, etc. Check capslock, numlock, keyboard mapping and other usual suspects if this doesn't work for you.
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
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: User root@localhost

Post by jojo »

bin/Otrs.SetPassword.pl will help
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
fornazieri
Znuny newbie
Posts: 2
Joined: 06 Apr 2011, 19:47
Znuny Version: 3.0 Beta 5
Real Name: Fernando Fornazieri
Company: Yamaha Motor da Amazonia

Re: User root@localhost

Post by fornazieri »

Hi crythias.

I solved the problem by commenting out the last line of the connection string file config.pm - # $ self-> {} DatabaseUserTable = 'system_user2';.

Now working properly

Thank you for your support.
Locked