From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 03:05:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAC951065677 for ; Fri, 25 Jul 2008 03:05:16 +0000 (UTC) (envelope-from prvs=pschmehl_lists=0851a84a8@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 877968FC0A for ; Fri, 25 Jul 2008 03:05:16 +0000 (UTC) (envelope-from prvs=pschmehl_lists=0851a84a8@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.31,250,1215406800"; d="scan'208";a="5074822" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 24 Jul 2008 21:36:40 -0500 Received: from [192.168.2.102] (cpe-24-175-90-48.tx.res.rr.com [24.175.90.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 4AFCD23DDF; Thu, 24 Jul 2008 21:36:41 -0500 (CDT) Date: Thu, 24 Jul 2008 21:36:32 -0500 From: Paul Schmehl To: alydiomc@yahoo.com, freebsd-questions@freebsd.org 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> X-Mailer: Mulberry/4.0.8 (Mac OS X) X-Munged-Reply-To: To reply - figure it out MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========7F5C7E520B4D6B22C257==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Spamassasin running as root! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 03:05:16 -0000 --==========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 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 ' = 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==========--