How to reset root password in erpnext its asking for current lunix pasword

help me regarding this…
thanks in advance

Are you able to log in Terminal? if yes then go to your bench directory and run below command

bench --site [site name] set-admin-password abc@123

If not then reset your root password from your server control panel.

How to change root password (linux password) from Terminal

passwd root

New password : abc@123
Retry new password : abc@123

passwd: password updated successfully :+1:

@Suresh_Thakor no bro i could not loggin to the terminal…
please help me regading this

It can be possible from your Server Control Panel.

@Suresh_Thakor , i did reset from digital ocean and i get a long password(in encrypted form) on mail…but its not use to get accesss to the terminal…acutally while putting that password to the terminal its asking for current lunix password…what to do…?

You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:  [that you got in email]
Enter new UNIX password:  [your new password]
Retype new UNIX password: [ re-enter above]

@Suresh_Thakor thanks bro it worked