You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Xala a86494df6c edit README 5 years ago
README.md edit README 5 years ago
amgr.sh uncomment mail function 6 years ago

README.md

AMGR

SQL account manager script.

You can list, create, modify and delete user account in your DB with this litle shell script.

Usage

Edit shell script for replace variables by your parameters.

Add execution permission on amgr.sh and run it.

amgr.sh -h

Exemples

Create new user:

amgr.sh -u toto -p 'test' -m toto@domain.cn -a create

Modify toto account:

amgr.sh -u toto -p 'changed' -m toto@domain.cn -a reset

Delete totoaccount:

amgr.sh -u toto -a delete