#1  
Old 2nd August 2010, 19:17
Trashi Trashi is offline
Junior Member
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default pure-ftpd process problem

Hello.

I have small questions about the division of processes of pure-ftpd-mysql. I did use this tutorial partly.
My pure runs on a debian box as a stand-alone server.

Code:
root@server:/# top | grep pure
32132 root      16   0  7416  776  412 S    0  0.0   0:00.00 pure-ftpd
All users are in my mysql database available. I set a MYSQLDefaultUID/GID (pure,ftp) for all virtual users... root is _not_ able to login!
If I connect with any (virtual)user to pure I can watch the following:

Code:
root@vs241011:/etc# ps afuxww | grep pure
root     32132  0.0  0.0   7416   776 ?        Ss   11:23   0:00 pure-ftpd (SERVER)
pure     26096  0.0  0.0   7464  1728 ?        S    11:38   0:00  \_ pure-ftpd (IDLE)
root     26097  0.0  0.0   7424   532 ?        S    11:38   0:00       \_ pure-ftpd (PRIV)
You can find my pure-ftpd.conf here: http://pastebin.com/sYu4S44r
And my pure-ftpd_mysql.conf: http://pastebin.com/zJRLKYLJ

I hope someone knows what the second root user is doing there and why it is subordinated user pure, because I didnt find documentations or s.th. like this about the pure processes!?

Regards, Trashi.
Reply With Quote
Sponsored Links
  #2  
Old 2nd July 2013, 21:13
dtonhofer dtonhofer is offline
Junior Member
 
Join Date: Jul 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Solved!

From the pure-ftpd README
Quote:
------------------------ PRIVILEGE SEPARATION ------------------------

When privilege separation is enabled, each session will spawn two processes :
a "privileged" process running as root, but that can only do very basic
and trusted actions (binding a port and remove the ftpwho scoreboard) and
the "client" process. The "client" process definitely revokes all privileges
after authentication and chroot() and punctually communicates with the
parent over a private channel.

Privilege separation decreases performance of loaded servers, but it
increases security and reliability. Enabling it is recommended.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pure Ftpd MySQL authorisation problem davebamford General 12 13th August 2014 10:02
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
Squirrelmail login failure Cracklefish Installation/Configuration 9 30th June 2010 21:38
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Postfix Problem m u r Installation/Configuration 0 8th August 2005 20:12


All times are GMT +2. The time now is 14:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.