root/scripts/admin/bien_user_create @ 198
1 | 194 | aaronmk | #!/bin/sh
|
---|---|---|---|
2 | selfDir="$(dirname -- "$0")" |
||
3 | |||
4 | . "$selfDir/../util/vegbien_dest.sh" |
||
5 | |||
6 | (echo "At prompt \"Password:\", enter *your* password for sudo" |
||
7 | echo "At prompt \"Enter password for new role:\", enter $out_password") >&2 |
||
8 | |||
9 | sudo -u postgres createuser --no-superuser --no-createdb --no-createrole \ |
||
10 | --pwprompt "$@" "$out_user" |