🔑 Admin Password Reset via Command Line
If you forget your NodeCP admin password, you can reset it directly from the command line.
🛠Steps to Reset Admin Password​
-
Access your server via SSH
Use an SSH client to connect to your server. -
Run the following command
Replaceusername
with your actual admin username andnewpassword
with your new password.reset-nodecp-password username newpassword
-
Example Usage:
If your username is admin and you want to set your password to SecurePass123, use:reset-nodecp-password admin SecurePass123
-
Confirmation
After running the command, you should see a success message confirming that the password has been updated.
🚀 Additional Tips​
-
Ensure NodeCP service is running after resetting the password:
systemctl restart nodecp
-
If you cannot access SSH, you may need to reset your root access or boot into recovery mode.
✅ This method ensures quick and secure password recovery for your NodeCP admin account.