You could use sudo to grant your backup user the required rights to read
those files.
==> /etc/sudoers
backupuser ALL=NOPASSWD: /usr/bin/rsync
I, the point is that I don't want to give my script root privilege. Too
much harm can be done using root privileges for simple task as backups.
Thi
Am 20.08.2014 um 23:57 schrieb Gionatan Danti:
Hi all,
I have a problem with my Dovecot installation. First, some informations:
- OS: CentOS 6.5 x86_64
- Dovecot: dovecot-2.0.9-7.el6.x86_64
Config:
mail_location = sdbox:~/dbox
user_query = SELECT username, password, 'vmail' as uid, 'vmail' as gi
Hi all,
I have a problem with my Dovecot installation. First, some informations:
- OS: CentOS 6.5 x86_64
- Dovecot: dovecot-2.0.9-7.el6.x86_64
Config:
mail_location = sdbox:~/dbox
user_query = SELECT username, password, 'vmail' as uid, 'vmail' as gid,
'/var/vmail/%d/%n' as home, CONCAT('*:storag