Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi. I've found several postings from people with my same problem, but none of the fixes have worked.
When trying to log on as anonymous, I get Unable t set anonymous privileges and Login incorrect.
In my log file on the server, it says session opened, then "ftp: Directory ~ftp/ is not accessible. " then session closed.
Does this mean anything to anyone? how would I make the directory accessible, if it doesn't exist, where do I create it?
Here is my proftpd.conf:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
# Port 21 is the standard FTP port.
# I dont know why this line is here infoteam.com/pub/proftpd/
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
# Set the user and group under which the server will run.
# Normally, we want files to be overwriteable.
# A basic anonymous configuration, no upload directories.
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
# Limit WRITE everywhere in the anonymous chroot
Does user "ftp" exist? If so, where is their home directory?
If they don't exist, create them (create group ftp first, then user ftp), and put their home directory wherever you want your "anonymous" root to be. So if you want anonymous to default to:
Then set that as your home directory for that user.
Thank you, that was very helpful and worked. I already have a group and user named ftp, but no directory was set for them. So, once figuring out to how to define the directory for a user, everything worked just great. Your advice was right on target.