Re: amavis user login shell needed?

Dominic Raferd <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
On 17/02/2021 18:18, Alexander Dalloz wrote:
> Am 17.02.2021 um 12:44 schrieb Dominic Raferd:
>> On Linux, is it necessary that the amavis user have a valid login 
>> shell such as /bin/sh? For security I would prefer it to use a null 
>> shell.
>>
>> If it makes a difference, our amavis calls clamdscan with --fdpass 
>> (the 'modern' way). And of course amavis uses SA in the normal way.
>
> /sbin/nologin is valid and sufficient.
>
> Alexander

Thanks that is helpful, I have implemented it now. In my case:

# usermod --shell /usr/sbin/nologin amavis
# usermod --shell /usr/sbin/nologin debian-spamd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.