added some un-tested scripts
db setup and password change auto ssh key gen
This commit is contained in:
5
commands/db-change-root-password.sh
Normal file
5
commands/db-change-root-password.sh
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
read -sp "Old Password: " oldPassword
|
||||
read -sp "New Password: " newPassword
|
||||
|
||||
mysql -u root -p "$oldPassword" -e "SET PASSWORD FOR root@'localhost' = PASSWORD(‘$newPassword’);"
|
Reference in New Issue
Block a user