Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 13:46:32 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Mehul Ved <mehul.n.ved@gmail.com>, alexus <alexus@gmail.com>, Nikos Vassiliadis <nvass9573@gmx.com>
Subject:   Re: proftpd TLS
Message-ID:  <200905201346.33032.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <6ae50c2d0905191218mca27c81o67a7e2f0a2a37ca8@mail.gmail.com>
References:  <6ae50c2d0905171301y2d92a7b1mc3598295de12ecc2@mail.gmail.com> <c1e7523f0905191126o317b254aia654ed83cd141f5@mail.gmail.com> <6ae50c2d0905191218mca27c81o67a7e2f0a2a37ca8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 19 May 2009 21:18:48 alexus wrote:
> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved <mehul.n.ved@gmail.com> wrote:
> > On Tue, May 19, 2009 at 11:14 PM, alexus <alexus@gmail.com> wrote:
> >> i start it as a root, but it switchs to non-root
> >>
> >> nobody 52346  0.0  0.1 11820  4208  ??  SsJ  Sun06PM   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.  - http://kingsly.net/tmp/fortune.php/1242364116
>
> 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=1315.0
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905201346.33032.mel.flynn%2Bfbsd.questions>