zoombox pwd account stuff...

main
Robert 2 years ago
parent c7753ba353
commit 21c796c157
  1. 7
      protected/README.MD

@ -56,14 +56,13 @@ $ echo "MySQL Root password is now: $MROOT"
# The following script will prompt you to perform various security-related actions. Follow the prompts to set a root password, remove anonymous users, disallow root login remotely, remove the test database, and reload the privilege tables.
$ sudo mysql_secure_installation
# Change this password SJ6G*WyaV7PvvEts@vxjm used below in a couple of places throughout this tutorial!
# Lets make a secure password for use with MySQL user account EX zoombox.
$ CMSPWD=$(openssl rand -base64 18)
$ echo "MySQL cms database user account password is now: $CMSPWD"
# Lets create a new user account for mysql
$ mysql -u root -p$MROOT
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'SJ6G*WyaV7PvvEts@vxjm';
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'Enter_the_password_used_by_CMSPWD_in_the_step_above';
> GRANT ALL ON cms.* TO 'zoombox'@'localhost';
> create database cms;
> exit
@ -94,8 +93,8 @@ DB_TYPE=mysql
DB_HOST=127.0.0.1
DB_NAME=cms
DB_USERNAME=zoombox
DB_PASSWORD=SJ6G*WyaV7PvvEts@vxjm
ADMIN_USERS=zug:SunSet@XQWET,zig:546Poker@xzyWhy
DB_PASSWORD=Enter_the_password_used_by_MYSQL_CMSPWD_user_account_for_cms_DB
ADMIN_USERS=zug:SunSet@XQWET,zig:CHANGE_ME_AS_WELL_MAKE_ONE_UP_HERE
```
(for Nano editor) Press ctrl+x to Save and Exit. Y to save. Enter to the default filename...

Loading…
Cancel
Save