added some un-tested scripts

db setup and password change
auto ssh key gen
This commit is contained in:
2019-10-29 02:10:00 -06:00
parent 69e0bd8963
commit 2705f2dc94
4 changed files with 54 additions and 1 deletions

View 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);"