Not able to change password of root for digital ocean droplet - server

Login from root user and after that it's asking for change password I enter a current and new password but not working. login from consol entered a user name and password received on email after reset droplet password. It's asking - Changing the password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password
Connection to xxx.xx.xx closed.

Reset the Root Password
If you typically log in to your Droplet using a password, or if you have set a password for the root or a sudo user on the system, you already have the credentials you need to log in.
If you log in to your server using SSH keys and have not set up a password for the root account or a sudo user, you will need to use the DigitalOcean Control Panel to create a password for you.
Navigate to the control panel. From the project the Droplet is in, or from the main navigation’s Droplets page, locate the Droplet. Click the Droplet’s name to open its detail page, then select Access in the left navigation.
Note: Some operating systems use internally-managed passwords, which means you cannot reset the root password from the control panel. In these cases, you’ll see the following message in the Reset root password section:
This Droplet’s root password is managed internally and cannot be changed from the control panel. Please SSH into the Droplet to manage it.
See How to Recover from Lost SSH Keys for additional steps you’ll need to take.
Click Reset Root Password to send an email to the address associated with your DigitalOcean account. You can use the password provided to log in to your Droplet through the console.
Log In with the Console
From the DigitalOcean Control Panel, first click the name of the Droplet you want to access, then select Access from the left navigation. Click the Launch Console button to open a web-based console session.
When the console opens, click the console screen and press ENTER to ensure that the login prompt has focus:
At the login prompt, enter the user you want to log in as. This will typically be the root user or a user configured with sudo privileges.
Note:
If you type directly into the console, it may initially read your number keys incorrectly, as if the SHIFT key is pressed. For example, pressing the 2 key may enter #.
This happens only when typing. You can avoid the problem by copying the text, then pasting it into the console by pressing CTRL + v. You can also reset this behavior and ensure that your key strokes are being received correctly by pressing SHIFT and CTRL a few times, then testing your number keys again.
When prompted, enter the password associated with the account. For security purposes, as you type or when you paste, the password the characters will not be displayed and the cursor will not change.
Once you’ve entered the password, press ENTER. If this is the first time you’ve logged in after resetting the root password through the control panel, you will be prompted to enter the password again, then asked to choose a new password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Once you’ve successfully entered your credentials and, if required, set a new password, you should be logged in to your Droplet. From here, you can reset misbehaving configuration files or services in order to restore network access.

I had the same issue and was able to fix it by using the recovery
Digital ocean recovery boot option1.
So I was stuck in this loop where after resetting the root password and receiving the email and entering the same 2 times and then entering the new password the shell will reboot and the new password will not be set and no matter how many times I tried I had the same problem. So I was tempted to redo the droplet but since I had spent a lot of time building the same I did not want to redo the same work. So I tried the recovery option and it worked. I did notice that the file system was broken and fixing that and resetting the password which is one of the options I6 was able to reset the same. Hope this will help people who are in this situation.
Here are the steps which I followed
Did a reset root password.
From the recovery option I selected Boot from Recover ISO
Power off the droplet and then power it on so it can boot from the ISO
Then launch the recovery shell from the digital option.
You will see couple of options like mount, fix file system, reset password
I did fix file system option 2
I then selected option 1 and then option 3 to reset the password
Then I changed the boot option to boot from the hard drive
Reboot the droplet by powering off and on the droplet
After that I used the same password that I had set with the root user I was successfully able to log in.

Related

Grafana :: Cannot login to http://localhost:3000/login

I freshly installed Grafana and I cannot login at http://localhost:3000/login
All documentation shows that the default user/password should be admin/admin but I'm locked out.
If I go to check into the file C:\Program Files\GrafanaLabs\grafana\defaults.ini the values are set to:
[security]
# disable creation of admin user on first start of grafana
disable_initial_admin_creation = false
# default admin user, created on startup
admin_user = admin
# default admin password, can be changed before first start of grafana, or in profile settings
admin_password = admin
# used for signing
secret_key = SW2YcwTIb9zpOOhoPsMm
# current key provider used for envelope encryption, default to static value specified by secret_key
encryption_provider = secretKey
If I try to retrieve the password through the e-mail I receive no e-mail.
What am I doing wrong?
The problem come from the grafana.db file. This is where your password is stored.
In your local machine, install the sqlite3 package
sudo apt-get install sqlite3
Login into your sql database
sudo sqlite3 /var/lib/grafana/grafana.db
Reset the admin password using SQL update (the new password will be admin)
sqlite> update user set password = '59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6', salt = 'F3FAxVm33R' where login = 'admin';
sqlite> .exit
Now, you could log in your Grafana web interface using username: admin and password: admin
Why is the login with admin:admin despite the configuration not working?
One possibility here is that you had Grafana installed previously (and when using it with the admin account already had to change the default password set in the config). In that case, you did not freshly install Grafana but instead upgraded it. That preserves the database including users and passwords, therefore you will have to use the password you set for that account.
Why are you not getting a reset password email?
I can think of two possibilities here: One is that Email is not configured in the Grafana config file and therefore no emails can be sent. The second one is that you did not set the email address for the account in question (afaik defaults to "admin#localhost") and therefore you don't get any emails. Of course it is possible that both is the case.
How can you solve this?
By either resetting the admin password (that will allow you to keep your existing data) or by removing Grafana and all files completely and making a fresh install.

How to change Mobaxterm session password

Hi there so I basically forgot my MobaXterm master password and I managed to change it yay!
now I came down to another Problem my session relied on the old password so how can I change it as when I go manage credential I cant change it or show password as my software version is the free version.
I have tried changing it and all but no avail.
Please help me
you try to reset password of mobaXterm pleases follows this steps
step 1
find location of mobaXterm files like:
C:\Users\admin\Documents\MobaXterm
go to this location
step 2
find file like : MobaXterm is a configuration file just open it any text editor
step 3
change like: [Misc]
PasswordsInRegistry=0 if is 1 then set 0
and save file and restart mobaxterm your password will be reset.
enjoy
There is also a reset Master Password tool available :
https://mobaxterm.mobatek.net/resetmasterpassword.html
But PasswordsInRegistry=1 works
If you reset your master password, all your connection passwords previously saved in MobaXterm will be lost.

Starting STAF on boot of windows machine

Hi I have installed STAF "http://prdownloads.sourceforge.net/staf/STAF3419-setup-winamd64.exe?download" on my windows 2008 server machine. By default STAF is getting started at Logon. I want to start STAF as soon as I boot may machine. How can I change this setting?
I did it in windows way not STAF:
1. In the Search box, type control userpasswords2, and then press ENTER. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
2. Clear the Users must enter a user name and password to use this computer check box, and then click Apply.
3. In the Automatically Log On dialog box, type your password, and then click OK.
4. In the User Accounts dialog box, click OK.

Cannot connect to Tryton database

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 to reset the ATG Dynamo Admin password?

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