LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices



Reply
 
Search this Thread
Old 05-02-2003, 04:03 PM   #1
jstander
LQ Newbie
 
Registered: May 2003
Location: Madison, WI
Distribution: Redhat8(work), Debian(home)
Posts: 4

Rep: Reputation: 0
proftpd anonymous login issues


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"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
# 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.
Umask 022

# 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).
MaxInstances 30

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

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

# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
RequireValidShell off

# 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 10

# 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>

<Limit Login>
AllowAll
</Limit>

</Anonymous>


Thank you for any help!!

-Jennifer
 
Old 05-02-2003, 04:16 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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:
/var/files/shared/ftp
Then set that as your home directory for that user.

HTH

Cool
 
Old 05-05-2003, 03:36 PM   #3
jstander
LQ Newbie
 
Registered: May 2003
Location: Madison, WI
Distribution: Redhat8(work), Debian(home)
Posts: 4

Original Poster
Rep: Reputation: 0
thanks!

MasterC:

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.

Jen Stander
 
Old 05-05-2003, 08:11 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're Welcome, glad it worked for ya.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 07:41 PM
Proftpd and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 08:36 AM
Proftpd Anonymous Users zaicheke Linux - Networking 1 08-20-2004 11:03 PM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 07:55 AM
Proftpd Anonymous login badsvt351 Linux - Networking 2 02-15-2002 06:15 PM


All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration