Confusion resetting Lucee admin password - passwords

I have forgotten the server password for my Lucee installation. There are instructions on stack overflow here: Reset Lucee Server admin password. It involves removing two lines from the Lucee server context configuration file and restarting Lucee.
I already have two datasources and I don't want to lose them. If I remove these two lines from the config file, and restart Lucee I presume that somewhere I have to reset the server password.
How do you do that?
Will that invalidate my current datasources?
And if so can I re-estabish them using the new password?

After editing the lucee-server.xml file and restarting Lucee
simply go to the server admin login page where you will be prompted
to set a new password.
No, your datasources and other settings won't have been affected.
Although this should work fine, I would make a copy of the lucee-server.xml file before you edit it just in case.

Related

can a cPanel password change after a restoration of a full backup?

I checked with my server if they could restore a full backup that I performed in another server, they told I should configure the FTP to use SSH, I did that, uploaded the file, they've restored everything, but as soon as I tried to change the cPanel password, I couldn't, I wasn't being able to login after the logout too.
So I talked to them and they had no idea of what happened. It's a brand new hosting account and the password was changed right after the restoration, and nobody knows who have changed it, so could it be the previous password from the old server that came with the full backup? I couldn't check that cause I asked them to reset the server password.

dot net nuke upgrade prompt for host login blocking password recovery

I am moving a copy from server a to server b and server b is asking for the DNN version to be upgraded. The problem is we do not have the host password. I tried to upload a password recovery file via FTP and we cannot see it since everything keeps redirecting to this upgrade. Is there a way to stop the upgrade redirect so we can get the host password and then re-enable it??
Upgrade
Current Version - 06.02.08
Upgrade - Version 07.02.01
You are about to upgrade your website to a more recent version of the application. Applying upgrades on a consistent basis is the best way to ensure that you are protecting the integrity of your investment and the security of your users and assets. Before proceeding with the automated upgrade process please ensure that:
You can have the upgrade fire off without typing in a password, just go to /install/install.aspx?mode=upgrade and it should run the upgrade without needing to login as HOST. then you can recover the password afterwards.
I've never seen a server which ask for a DNN upgrade. The upgrade process will run only if you've update files with an upgrade package.
Moreover, the 2 versions mentionned are the assembly version and the database version. Moving DNN from a server to another server doesn't modify none of them. Did you copied the database too? I suspect that your dnn copy is connected to another database which is in DNN 6.2.8. It could explain why dnn is attempting to upgrade it.
Regarding the recovery of the host password, I don't know how to proceed. Haven't you a superuser account on this dnn instance?
Open your web.config and make sure AutoUpgrade is set to False.
For the password issue, do you have the password for any other users?
If so, I believe you can go into the AspNetUsers table and copy the PasswordHash/Salt of that user to the PasswordHash/Salt of the admin user. Then, you should be able to login with the Admin username and the other user's password.
Note: Please make sure you have a database backup before trying this.

How to reset storage password in Mule Studio

I have downloaded new version of mule studio, and I am trying to configure it. First I am trying to set network connections. After editing proxy entries, when I click on apply I am presented with "please enter the secure storage password". I have not set any such password.
and I do not see any option of resetting it. Long time ago I had installed some earlier version of mule studio. I did simply delete that directory before reinstalling new one. Could that be a problem. In any case what would be a way out.
Thanks for your help or suggestion on where to look.
Could be due to the old installation, as the Secure Storage file location is usually some hidden Eclipse settings directory. It is used to store proxy authentication data. See Preferences -> Security -> Secure Storage for the Secure Storage settings, and specifically the Contents tab for Storage location and the Delete button that should delete the previous Secure Storage. A restart might be needed.

I forgot the Glassfish3 master-password, how can i reset it?

I forgot the master-password of my Glassfish 3.1.2.2. Is there a way to reset it? I spent a lot of time "googling around" but i didn't find a suitable answer.
There is a backup password that can be used to access the administrator panel even if you've forgotten the main one.
If you navigate to glassfish\domains\domain1\config\ you will find a file called local-password.
The contents of that file can be used as a password to log in to the control panel as admin.
Please follow the below steps:
Stop the domain
Back up the master password file
Create a new domain and save the master password:
asadmin create-domain --savemasterpassword domain2
Remember the password :-)
Copy the newly created masterpassword file over the old one
Delete the newly created domain:
asadmin delete-domain domain2
FYI, now you should also know why you want to protect the master password file using file permissions :-)
Copy the admin-keyfile from origin install zip (empty password).
This was a big problem for me after inheriting a testing VM from a colleague who left the company. I didn't want to risk creating a new domain as described above and I tried using the contents of local-password file as also described above, but that didn't work for me.
What did work first time was the following on GlassFish Server Open Source Edition 3.1.2.2 (build 5). Change contents of this file:
$GLASSFISH_HOME$\glassfish\domains\domain1\config\admin-keyfile
with:
admin;{SSHA}WQVj8i9CLECCiv+w6ZxGgMrcfPqHPoXZW+2Jdw==;asadmin
I didn't add a newline or carriage return at the end of the line.
This is my modification of an online solution.
For Glassfish 4, after creating domain2 with default passwords, I also had to copy keystore.jks and domain-passwords files along with the master-password before change-master-password would recognise the password.

Bugzilla reset to DB verfication

I recently installed Bugzilla on a server and I was trying to configure it to work with LDAP authentication.
Unfortunately, I accidentally disabled DB authentication in the Parameters area of the admin section and the LDAP settings were not configured properly.
Now I am unable to log back in as the administrator and can't log in at all over ldap because the settings were incorrect.
I am unable to figure out where I can manually restore DB authentication for bugzilla either directly in the DB or in some config file.
Appreciate your help
Look in the config file /data/params
You will see an entry called user_verify_class, change this to "DB" and you should be able to log in again.