doc/web/source/pgsql_set_permissionspermissions.rst
changeset 626 f151defe7078
parent 579 be0906181a10
child 706 6c369b680ab0
equal deleted inserted replaced
625:ac27f89fad86 626:f151defe7078
     1 There's a python script which grants permissions to your Dovecot and Postfix
     1 There's a python script which grants permissions to your Dovecot and Postfix
     2 database users.
     2 database users.
     3 
     3 
     4 .. code-block:: console
     4 .. code-block:: console
     5 
     5 
     6  user@host:~$ python /path/to/vmm-0.6.0/pgsql/set-permissions.py -h
     6  user@host:~$ python /path/to/vmm-0.6.1/pgsql/set-permissions.py -h
     7  Usage: set-permissions.py OPTIONS
     7  Usage: set-permissions.py OPTIONS
     8  
     8  
     9  Set permissions for Dovecot and Postfix in the vmm database.
     9  Set permissions for Dovecot and Postfix in the vmm database.
    10  
    10  
    11  Options:
    11  Options:
    25                          Database user name of the Dovecot database user.
    25                          Database user name of the Dovecot database user.
    26                          Default: dovecot
    26                          Default: dovecot
    27    -M USER, --postfix=USER
    27    -M USER, --postfix=USER
    28                          Database user name of the Postfix (MTA)  database
    28                          Database user name of the Postfix (MTA)  database
    29                          user. Default: postfix
    29                          user. Default: postfix
    30  user@host:~$ python /path/to/vmm-0.6.0/pgsql/set-permissions.py -a -H 127.0.0.1 -U vmm
    30  user@host:~$ python /path/to/vmm-0.6.1/pgsql/set-permissions.py -a -H 127.0.0.1 -U vmm
    31  Password: 
    31  Password: 
    32  user@host:~$ 
    32  user@host:~$ 
    33 
    33