Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 21:36:32 -0500
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        alydiomc@yahoo.com, freebsd-questions@freebsd.org
Subject:   Re: Spamassasin running as root!
Message-ID:  <245310B42F59D20E86DD2857@Macintosh.local>
In-Reply-To: <677836.81175.qm@web52201.mail.re2.yahoo.com>
References:  <677836.81175.qm@web52201.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========7F5C7E520B4D6B22C257==========
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

--On July 24, 2008 7:26:06 PM -0700 lyd mc <alydiomc@yahoo.com> wrote:

> Hi guys,
>
> My maillog complain like this:
>
> Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user
> not specified with -u, not found, or set to root, falling back to nobody
>
> Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of
> auto-whitelist file failed: locker: safe_lock: cannot create tmp
> lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for
> /nonexistent/.spamassassin/auto-whitelist.lock: No such file or =
directory
>
> I google it and found out that i need to run spamd with '-u <user>' =
flag.
>
>> From BSD guide website spamd has a flag of=C2=A0 '-u qscand'. However,
>> there is no detail on how the qscand user has been created.
>
> How to create a user for spamd correctly or securely?=C2=A0
>

man (8) pw

pw useradd qscand -s /sbin/nologin

Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.

--==========7F5C7E520B4D6B22C257==========--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?245310B42F59D20E86DD2857>