How to Restore the 'admin' password

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Restore the 'admin' password

L4 Transporter

update ver 1.1.9 added a CLI option to restore the password for the WebUI account  - 'admin'

 

If you need to restore the password to the default password of 'paloalto' the CLI syntax is shown below:

 

 

expedition@Expedition:/var/www/html$ php /home/userSpace/utils/restore/restoreAdmin.php

 

✓ Connected successfully to the database

✓ Admin user found

✓ Admin password restored to:    'paloalto'

 

expedition@Expedition:/var/www/html$

4 REPLIES 4

L0 Member

Hi Sjanita,

 

I can't use this command to restrore my admin password. Please see below the results when I tried to run the command in expedition:

It doesn't seem that I have utils directory.

 

expedition@ubuntu1604:/var/www/html$ sudo php /home/userSpace/utils/restore/restoreAdmin.php
Could not open input file: /home/userSpace/utils/restore/restoreAdmin.php


expedition@ubuntu1604:/var/www/html$ cd /home/userSpace/
expedition@ubuntu1604:/home/userSpace$ ls -la
total 36
drwxr-xr-x 3 www-data www-data 4096 Jan 18 04:33 .
drwxr-xr-x 5 root root 4096 Jan 18 04:03 ..
-rw-r--r-- 1 www-data www-data 82 Jan 18 04:32 environmentParameters.php
-rw-r--r-- 1 www-data www-data 894 Jan 18 04:32 panReadOrders.log
drwxrw-rw- 3 www-data www-data 4096 Jan 18 04:33 projects
-rw-r--r-- 1 www-data www-data 70 Jan 18 04:32 .signatureMAC
-rw-r--r-- 1 www-data www-data 101 Jan 18 04:33 tempEnvironmentParameters.php
-rw-r--r-- 1 root root 654 Jan 18 04:09 userDefinitions.php
-rw-r--r-- 1 www-data www-data 36 Jan 18 04:09 .uuid5
expedition@ubuntu1604:/home/userSpace$

Hi,

 

I see you do not have the utils folder. Could I ask which version of Expedition are you currently running?

L0 Member

Hello,

 

Looks like the file has moved. Here is the new location :

 

Aswell the login might be admin instead of expedition

 

expedition:~$ php /var/www/html/OS/startup/restore/restoreAdmin.php

✓	Connected successfully to the database
✓	Admin user found
✓	Admin password restored to:    'paloalto'

 

@adelamarre 

 

Yes that is correct and you could always locate the file with the "sudo find" command

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!