hmm, very nice! thank you! but about bind & apache? is there any module so i can manage the from a DB? -- (\_ /) copy the bunny to your profile (0.o ) to help him achieve world domination. (> <) come join the dark side. /_|_\ (we have cookies.) On Thu, Sep 6, 2012 at 7:06 AM, C Anthony Risinger <anthony@xxxxxxx> wrote: > On Tue, Sep 4, 2012 at 4:59 PM, Δημήτρης Ζέρβας <01ttouch@xxxxxxxxx> > wrote: > > i know that, my problem is "central management" so my users can add their > > domains etc. > > http://www.proftpd.org/docs/contrib/mod_sftp.html > > ... at work we run a setup that uses PAM to authenticate, but the PAM > module ONLY looks at a Django database for users/etc (per a custom PAM > service name) ... then we run proftpd specifically for SFTP-only > access by external vendors. postgres is the DB in use (which, of > course, there is no reason to run anything else because postgres is > phenomenally more powerful and simple than ... others ;-). > > the files have been scrubbed (via regex, possibly subtly broken in > process) but it should get you going; things to note as they will > likely need attention: > > - targets debian, arch will need uid/gid tweaks, among others? > - requires bcrypt django auth (if used) > - requires pgcrypto for the target DB (if used ^^^^) > > ... all files are pretty well commented tho. HTH. > > https://gist.github.com/3651050 > > # tree > . > `-- etc > |-- pam.d > | `-- stuff > |-- stuff > | `-- proftpd.conf.head > |-- stuff.pam_pgsql.conf > `-- stuff.proftpd.conf > > -- > > C Anthony >