Skip to content

Password set incorrectly by core install, having to reset password after install #305

Description

@josvlaar

I'm installing WordPress with the following Bash script. When entering the admin username (ICT Mee) and password uhg4vvHofMb0n"LPX2FoV?usa%%wD9 , WordPress installs successfully but I cannot login with these credentials after install. Are my single/double quotes (or a lack thereof) correct? Visual Studio Code would only show the variables in blue with double quotes or no quotes, with single quotes the variable appears in red. Do I need to use single quotes when inserting the values from a variable?

read -p "Enter site title: " title
read -p "Enter admin username: " adminuser
read -p "Enter admin email: " adminemail
read -p "Enter admin password: " -s adminpassword
wp core install --url=https://$hostname --title="$title" --admin_user="$adminuser" --admin_email=$adminemail --admin_password=$adminpassword --skip-email

Thank you for your time!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions