FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 9th, 2002, 08:31 AM
Dmtalon Dmtalon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Florence, KY
Posts: 1 Dmtalon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question MySQL with ProFTPd

Hey guys/gals,

I've got a question. I've installed ProFTPd 1.2.4 with mod_sql. I've gotten ProFTPd to authenticate using a MySQL database, however I'm having trouble getting some of the mysql parts to do what I would expect them do. This probably isn't the best place to post this question, but I'm hoping one of you mySQL guru's is running proftpd and MySQL.

I've created a user called 'tester' and following the instructions for creating the usertable and grouptable in mySQL I've got:

userid: tester
uid: 500
gid: 102
passwd: *******
shell: /bin/bash
homdir: /ftp
count:

When I log in as 'tester' I get an error message in /var/log/messages that there is no GID = '102' Well GID 102 is the group "ftp" in /etc/group

What I want to happen is to be able to limit users to certain directory tree's. I want to be able to set default root to /ftp for certain users. I don't want them being able to 'look around' basically.

Currently with PAM I can set up groups that have certain default roots, (i.e ftp group sees /ftp as / ) I just want to duplicate this.

My second problem is that when I set SQLAuthoritative to "off" I get a signal 11. The reason I would set this to off would be so that I can use mySQL AND PAM for auth.

If anyone can help me out I'd really appreciate it!!

Thanks,

Dallace

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > MySQL with ProFTPd


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT