Project

General

Profile

1
#!/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"
(1-1/5)