diff --git a/README.md b/README.md index 765bcd4..551e15e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ All without granting `super` permissions and having a histoc of changes on a _ps ## Instructions ### First deploy + +Modify `passchanger.sql` according your needings: + * Change `_min_password_length` on `change_my_password` function + * Change `_password_lifetime` on `change_valid_until` function + Deploy `passchanger.sql` on the desired cluster/database. It will: @@ -23,6 +28,17 @@ It will: * Create the 2 needed functions and grant permissions on them to `dba` +### Updates + +Just execute the `CREATE OR REPLACE FUNCTION` part of the `passchanger.sql` file. + +| :warning: WARNING | +|:---------------------------| +| Amazon RDS has some notes at the end... | +| :warning: WARNING | + + + ### Allowing users to use that functions Take the file `grants_to_grant.sql` and modify the username _dodger_ so it match the username that should have the permissions. Execute the grants on the cluster/database you have deployed `passchanger.sql` @@ -52,10 +68,15 @@ select dba.change_my_password('