On 10/16/2015 10:08 AM, Tom Sparrow wrote:
Not sure how 'answered' this question is since 3rd, but since I was having this problem this week thought I'd pitch in.I used sudo -u cyrus /bin/sh which saves on forgetting to change it back (and has the advantage of not opening anything up further than required in the mean time).
I thought with newer versions of Cyrus you could just run commands as root. Yup, from 2.3.9 on
Changes to the Cyrus IMAP Server since 2.3.8 Allow utilities to be run as root (acquiring 'cyrus' uid on-the-fly). http://cyrusimap.org/docs/cyrus-imapd/2.5.3/changes.php
On 16/10/15 12:42, Sebastian Hagedorn wrote:--On 3. Oktober 2015 05:51:42 -0500 Patrick Goetz <pgo...@mail.utexas.edu> wrote:I have a question about best practices. I usually have the shell for user cyrus set to /bin/false. So to run a reconstruct, I have to change this to /bin/bash (or something) first in order to be able to log in as cyrus and execute the reconstruct command. On the other hand, this is only the second time I've had to run reconstruct in 12 years of using cyrus. What do most people do about this? Is cyrus an ordinary user who can log in by default, or is it best practice to have shell /bin/false, as I do with most other daemon users?We use user cyrus all the time. Not only for reconstruct, but also for tools like mbexamine, chk_cyrus etc. ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
<<attachment: boutilpj.vcf>>
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus