Forum archive
Drupal 8 Administration, Passwords, Updating, etc...
Hello,
I just recently started a new job and just ran across a system running in our internal environment with Drupal 8.
I am able to login as an admin to the website to manage content and do limited updates?
Drupal core is 8.7.8
PHP 7.0.33
so about a year outdated.
Of course nobody has any passwords to get into Adminier nor SSH/SFTP.
TKLBAM is not initialized either.
What are my options besides setting up a new box from scratch and manually copying all the content for the entire organization.
Thank you.
Yep the Ubuntu live disk should do the job, but you'll need to install LVM by the sounds so will need networking setup in Ubuntu. Try this (assuming root, most of these commands probably require sudo if not root):
First install LVM:
Then scan and load VG (volume groups):
That should load the TurnKey VG. It's most likely called "turnkey", but just in case I'll show the expected output (with 'turnkey") so you can adjust to as needed.
So assuming that you have a "turnkey" (or similar) volume group, then the root volume will be /dev/turnkey/root so you can mount it like you would any other "device", chroot in, change the root password, and back out again. I.e.:
And now you should be good to reboot your TurnKey appliance and log in via SSH using your shiny new root password! :)