From owner-freebsd-questions@FreeBSD.ORG Wed May 20 14:13:17 2009 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 0E0A11065674 for ; Wed, 20 May 2009 14:13:17 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-gx0-f166.google.com (mail-gx0-f166.google.com [209.85.217.166]) by mx1.freebsd.org (Postfix) with ESMTP id B96F98FC15 for ; Wed, 20 May 2009 14:13:16 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by gxk10 with SMTP id 10so917491gxk.19 for ; Wed, 20 May 2009 07:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qb31v8LyfLLMc1Y8iT26i2KjDFwRIDUhZ0MI4Go2FrU=; b=GMS9JOAFwvroGrvVI/RN2aPsAItmBwZjXR/fF+veTweD5R14fgPUZs1HyJfmouhARF NIU30e8dL2JNb6cg6q3MDHfvGZuUaGuoDlWO1daMwi47CK26jXb9Gq02f8VD31sHdsTW GTIJuIRaMSFyGU8jsRlRwbGtibpOBDAcmlnZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Bmy5pz2jEKE3IfITHzdWKPCBsYy3T1PkcXMLBf3v1XM72zhbPFZJ+Ci3LP4NPa70GR eJG8a1dYSTBkac1zfLhZFpunBfQp2WjeqH5HlN7oltzo+GCdP8hclcWXXZrUm7X5dAAI iNGk7tdxv6q57FCLxnNGyw0uQSi26MT0ai4XM= MIME-Version: 1.0 Received: by 10.151.107.8 with SMTP id j8mr2725573ybm.297.1242828795713; Wed, 20 May 2009 07:13:15 -0700 (PDT) In-Reply-To: <200905201346.33032.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <6ae50c2d0905171301y2d92a7b1mc3598295de12ecc2@mail.gmail.com> <6ae50c2d0905191218mca27c81o67a7e2f0a2a37ca8@mail.gmail.com> <200905201346.33032.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Wed, 20 May 2009 10:13:15 -0400 Message-ID: <6ae50c2d0905200713t7d9c785fs4f6c5ec6db4166de@mail.gmail.com> From: alexus To: Mel Flynn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Mehul Ved , freebsd-questions@freebsd.org, Nikos Vassiliadis Subject: Re: proftpd TLS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 14:13:17 -0000 On Wed, May 20, 2009 at 7:46 AM, Mel Flynn wrote: > On Tuesday 19 May 2009 21:18:48 alexus wrote: >> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote= : >> > On Tue, May 19, 2009 at 11:14 PM, alexus wrote: >> >> i start it as a root, but it switchs to non-root >> >> >> >> nobody 52346 =C2=A00.0 =C2=A00.1 11820 =C2=A04208 =C2=A0?? =C2=A0SsJ = =C2=A0Sun06PM =C2=A0 0:00.66 >> >> proftpd: (accepting connections) (proftpd) >> > >> > Check the value for 'user' in proftpd.conf. It will be nobody. Change >> > it to root. >> > >> > -- >> > >> > Dyslexics have more fnu. =C2=A0- http://kingsly.net/tmp/fortune.php/12= 42364116 >> >> wouldn't it sort of make it more risky in terms of security to run >> ftpd as root vs nobody? >> in general daemon do not run as root and thats for a reason.. > > Yes, don't do it. Is proftpd started as root? Then this shouldn't occur, > although a forum post[1] suggests that mod_cap can fiddle with this. > > [1] http://forums.proftpd.org/smf/index.php?topic=3D1315.0 > -- > Mel > if i set User in proftpd.conf to root, then it runs as a root the other thing is mod_cap has something to do with Linux compatibility w/ = POSIX I run FreeBSD... --=20 http://alexus.org/