forgot root password

Moderator: crythias

Post Reply
BigPanda12
OTRS newbie
Posts: 4
Joined: 18 Apr 2018, 11:23
OTRS Version?: 6.0.4

forgot root password

Post by BigPanda12 » 20 Apr 2018, 11:31

Hi everyone,

i forgot my root password.

I have tried to reset it with "/opt/otrs/bin/otrs.SetPassword.pl admin password123" but no such file in directory.
For some reason I haven't got this file.

Thanks a lot!
BigPanda

zzz
OTRS superhero
Posts: 201
Joined: 15 Dec 2016, 15:13
OTRS Version?: 3.x - 6.0.x
Real Name: Emin
Company: maxence business consulting GmbH
Contact:

Re: forgot root password

Post by zzz » 20 Apr 2018, 11:35

Hello,

use the console command

Code: Select all

/opt/otrs/bin/otrs.Console.pl Admin::User::SetPassword param
Best regards
Emin

BigPanda12
OTRS newbie
Posts: 4
Joined: 18 Apr 2018, 11:23
OTRS Version?: 6.0.4

Re: forgot root password

Post by BigPanda12 » 20 Apr 2018, 11:58

Thanks for the answer.
I tried it but it shows

Code: Select all

otrs@osboxes:/home/osboxes$ /opt/otrs/bin/otrs.Console.pl Admin::User::SetPassword param
Can't locate Kernel/Config/Files/ZZZAAuto.pm:   /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Keine Berechtigung at /opt/otrs/Kernel/Config/Defaults.pm line 1961.
Error: mkdir /opt/otrs/var/tmp/CacheFileStorable/Valid/2: Permission denied at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 87.
Thanks a lot!
BigPanda

jojo
Moderator
Posts: 14273
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: forgot root password

Post by jojo » 20 Apr 2018, 12:00

your system is not set up correctly. Please check admin manual and fix the permissions of the /opt/otrs directiry
"Production": OTRS™ 6, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

Post Reply