After installing Frappe on your server, a default administrator user is set. If you forget the administrator password, you can follow the steps below to reset it.
- Login to your server and switch the user to erpnext OR to the user using which Frappe is installed. Replace erpnext with the actual user you have used.
su erpnext
- Execute the below command using the command line. Replace your-domain-name with the actual domain name on which Frappe is installed and new-password with the new password.
bench –site your-domain-name set-admin-password ‘new-password’
Login to Frappe with the administrator user and new password.