Skip to content

Commit

Permalink
Allow dbadmins to use mysqldump (#3846)
Browse files Browse the repository at this point in the history
Needed to make renames and recreations safely by making a backup of the
db prior to performing the rename/recreation.
  • Loading branch information
redbluegreenhat committed Apr 27, 2024
1 parent 66f0db3 commit ac99c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/users/data/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ groups:
members: [alex]
privileges: ['ALL = (ALL) NOPASSWD: /bin/bash -c mariadb',
'ALL = (ALL) NOPASSWD: /bin/bash -c mysql',
'ALL = (ALL) NOPASSWD: /bin/bash -c mysqldump *',
'ALL = (ALL) NOPASSWD: /usr/sbin/service mariadb start',
'ALL = (ALL) NOPASSWD: /usr/sbin/service mariadb restart',
'ALL = (ALL) NOPASSWD: /usr/sbin/service mariadb status',
Expand Down

0 comments on commit ac99c89

Please sign in to comment.