On Mon, 2 Nov 2015 07:38:57 -0800
Shaheen Bakhtiar wrote:

> Well? I?m glad I?m on this mailing list :P 
> 
> I did the same thing, running sa-learn ?spam /spamfolder as root, and
> was pondering this very issue.
> 
> I understand the logic behind why it shouldn?t be run as root, the
> problem is on FC 22 the spamd user has /sbin/nologin as the shell
> in /etc/passwd. Which means in order to run the process as spamd one
> has to manual change that to /bin/bash, then, change it back
> (/sbin/nologin it self is a security precaution), once the process is
> complete.

su -m will run with the current shell

Reply via email to