Click to See Complete Forum and Search --> : Proftpd user trouble


Floppyman
01-30-2004, 08:20 PM
Hi all,

I tried getting proftpd running today but I'm having troubles with the users. Here's part of my proftpd.conf:

# Set the user and group under which the server will run.
User ftp
Group ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 5
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>

The way this is setup right now, I can login as myself with my password and I will get my home directory. However no other user can login. I've tried creating new users and groups, and changing the proftpd.conf to reflect that. However, only I can login and none of the other usernames I created. I tried following the how-to that was posted but I'm still not having any luck. Any ideas? All I really want to be able to do is add a couple more ftp users and make an FTP directory that's the default for them when they login. I'm using Slackware 9.1 btw. Thanks in advance.

pl1ght
02-03-2004, 03:39 PM
Maybe run it as user nobody
group nogroup

www.gnomefoo.com/linux/help/proftpd.conf

check my conf out for reference if you like.