I have Netbeans 7.4 & GlassFish Server 4.0, I've accidently removed the password in server properties..
now everytime I start Netbeans a message box pops up saying
Authorization failed while checking GlassFish Server status, Please provide valid administrator credentials
and it asks me for username and password
the password seemed to be auto-generated, I've tried to login with admin and leave the password blank or admin as a password, it didn't work.
I also tried to permanently remove and re download it again in Netbeans, I got the same issue.
as per http://it.i88.ca/2012/07/glassfish-3-solution-recovery-admin.html
you can change the content of glassfish/domains/domain1/config/admin-keyfile to
admin;{SSHA256}dvCEGFNHGtSyXIhJvwR5FnviH+u8fCadrUIqp6uJc1tP9Bv10CGT7A==;asadmin
and your asadmin password is now "changeit".
Related
I installed pgadmin4 on ubuntu 18.04 with the command:
sudo apt-get install pgadmin4 pgadmin4-apache2
During installation as usual I was prompted for an email and password, so I provided my email and a password. After installation when I try to login to pgadmin4 homepage with that email, I get the error:
specified user does not exist
I probably provided my email with some typo during installation. How do I solve this problem now? Is it possible to reset email without re-installing pgadmin4?
I found the db location where my credentials are stored.
var/lib/pgadmin/pgadmin4.db
In user table credentials are stored.
Funny thing is that postgres#localhost is appended right before my email. While providing email didn't expected them to be appended to my email address.
So to update my credentials I installed SQLite 3 and sqlitebrowser by following this tutorial.
I had to change permission of pgadmin folder and pgadmin4.db file. Rest was easy-
open sql browser
click on open database
click on browse data
select table user
update emeil address and save changes. Done
after installing binary version (10.11.3) of postgressql, i set the username and password and username and started pgAdmin4. it was asking password to login but whenever i give correct password, it was giving incorrect password. So i reset MASTER_PASSWORD= false in
postgresql-10.11-3-windows-x64-binaries\pgsql\pgAdmin 4\web\congig.py file. I restarted the server. i am getting the below screen and i am unable to login.
I am not sure what is the problem.
Recently, i change the password for admin, and unfortunately i don't remember the password of my glassfish server 4. How, can i reset the password.
I've followed the instruction provided in the following link "https://superuser.com/questions/7654/how-to-reset-delete-my-glassfish-password", but it didn't help me.
i went to this path "../glassfish4/glassfish/domains/MyDomain/config/" and change the "admin-keyfile" file, but still it didn't help me.
Finally, after few hours of posting the question, i found a solution.
On my glassfish installed directory, this in my case /glassfish4/glassfish/domains/mydomain/config. I edit the file named with file name admin-keyfile.
i added this line next to the existing line( but i commented the existing line).
admin;{SSHA}WQVj8i9CLECCiv+w6ZxGgMrcfPqHPoXZW+2Jdw==;asadmin
Then i restart the glassfish server.
Since, i m loading the glassfish server in different machine[Not required if running locally], i additionally need to run this command asadmin enable-secure-admin to make secure enable and asadmin change-admin-password. To set new password. Then i restarted the server again.
Finally it worked.
After installing the standard Tryton packages in Ubuntu 12.04, I can start the client and create a new database. But the client refuses to connect to the database. It will display the locally created databases, but will fail to add the localhost profile.
If I try to add a new profile, the client will show the installed databases, but on clicking ok will fail silently back to the start screen, without adding the new profile.
New profile setting was:
Hostname: localhost
Port: 8000
Database: [Correctly displays the list of created Dbs]
Username: [I've tried everything from tryton, admin, test to root]
I have also tried to connect directly in the Tryton client without adding a new profile, then it will always yield "Bad user or password", no matter how exact I re-enter the tryton user with his password, or any other user (admin, root) for that matter.
I have followed the procedure in the documentation (Readme.debian: adding database user in /etc/trytond.conf and so forth, have registered tryton user with postgres and in trytond.conf).
Do I need to be logged in as tryton on Remote Desktop maybe?
The client was started on the Ubuntu desktop via Remote Desktop, logged in as root.
Tried to log in as tryton, too. That will get to the desktop, but somehow not show the Terminal window. Hence I can't start the Tryton client. Terminal will blink for a second and then vanish.
When you create a dabatase from the tryton client it ask you the admin password. You must enter with the 'admin' username and with the admin password you used on the database creation step.
Once you enter the system you will see and step to create additional User. You can skip it if you want, as they can be created at any time from Administration -> Users -> Users menĂº.
You must never use the passwords entered on etc/trytond.conf as this credentials are used from the tryton server to conect to the database. User logins are managed by tryton server.
How can I reset the ATG Dynamo Admin password?
I need steps to reset/change the password, from the default of admin/admin.
According to Oracle's documentation, you can add Admin.Reset to your ear file which when deployed, will reset the admin password to the admin account.
ATG Documentation
Delete entry for "admin" from DAS_ACCOUNT table and restart the server. Then open dyn admin with admin/admin. It will take you to passward reset page.
You can do this ACC. In ACC click on People and Organizations->Control center users and select the name whose password you want to change.
It is answered in This forum. Basically, there are different ways to reset password, you can do it either by firing some queries or by methods mentioned here.
I had similar issue. In WebLogic app server I was getting denied ATG Dyn Admin of admin/admin. I took a shot in the dark and tried my WebLogic admin console login, and this time it worked, but Dyn Admin tried to take me to a password reset page. At that time I got the error:
Make sure that you have the bin directory for your JDK in your PATH variable before starting Dynamo and that you have enough swap space.
I created below props file in ATG_HOME/localconfig, and added the one liner below:
/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor
javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler
This solved my problem. I was able to load password change JHTML fine. Not sure yet why ATG Dyn Admin was redirecting me to password change page, and why it accepted my WebLogic console credentials. I wonder if it's a WebLogic specific thing.
you can change your password through /dyn/admin console there is a link password management from where you can reset the default password from admin/admin
Open your SQL developer in Core schema there is table name DAS_ACCOUNT where account name and password has been set so for password there is a long key
i have a key with me
2b7b1f41d6ddb810d48096c266d3bd092d7e5da5
place it in there now your
username:admin
Password:admin123