Tutorials
E
Elementor
16 tutorials
A
AWS Lightsail
Beginner-friendly AWS Lightsail guides
12 tutorials
W
WordPress
12 tutorials
View all tutorials →
Tools
W
Website Platforms & Tools
Tools to build, host, and optimize fast, reliable, and professional websites.
8 tools
W
Web Hosting Providers
Fast, secure web hosting with reliable uptime to power and scale your website.
6 tools
V
VoIP / Communications
Business phone tools with virtual numbers, call routing, and auto-attendants for a professional pres
4 tools
W
Website Security
Security tools to protect your site from threats, malware, and unauthorized access.
2 tools
B
Branding & Logo Design
Create a strong brand identity with custom logo and professional design services.
1 tool
View all tools →

Forgot Your WordPress Password on AWS Lightsail? Here’s How to Get Back In

Gerry Manzari Written by Gerry Manzari · February 15, 2026 · 1 min read

Sign into your Lightsail server using SSH or the browser terminal.

Go to your WordPress directory using the following command:

BASH
cd /opt/bitnami/wordpress

If you don’t remember your username, you can list all users with this command:

BASH
sudo wp user list

Simply reset the password using WP-CLI (replace “USERNAME” with your actual username and “NewPasswordHere” with what you want your new password to be.

BASH
sudo wp user update YOURUSERNAME --user_pass=NewPasswordHere

Now go to your WordPress admin login and login using your new credentials.

PLAINTEXT
https://yourdomain.com/wp-login.php