LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2004, 01:04 AM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
EASY proftpd questions


so i got proftp installed on my slack server as a standalone

i have a user on my system called users and passwords is users

now i can connect to my servers ftp

but i can't log in



ServerName "ProFTPD Default Installation"
#ServerType standalone
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 23
# 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 that the server normally runs at.
User nobody
Group nogroup

# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off

SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog

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

# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
RequireValidShell off
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 50

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

# An upload directory that allows storing files but not retrieving
# or creating directories.
# <Directory /home/users>
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>

</Anonymous>









#pico etc/ftpusers
________________________________________________

#
# ftpusers This file describes the names of the users that may
# _*NOT*_ log into the system via the FTP server.
# This usually includes "root", "uucp", "news" and the
# like, because those users have too much power to be
# allowed to do "just" FTP...
#
#
# Version: @(#)/etc/ftpusers 3.00 02/25/2001 volkerdi
#
# Original Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
# The entire line gets matched, so no comments or extra characters on
# lines containing a username.
#
# To enable anonymous FTP, remove the "ftp" user:
ftp
root
uucp
news
users
# End of ftpusers.





i put users in that file thinking that might help


what am i doing wrong

question # 2 when users log in will they start in the dir /home/users


question # 3

how do i enable fxp transfers (site to mysite from someone else)
 
Old 09-17-2004, 01:13 AM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
1. "users' is a group, not a user id. It's probably not a problem to have a user called 'users', but it is a bit weird and confusing to linux veterans.

2. That second file you list is used to identify users who CAN'T log in, not users who CAN log in. Since 'root' is in there, 'root' can't log in as an ftp user. A regular user named (for example) 'citrus' would be able to log in.

3. On most ftp servers, when a real user logs in they end up in their home directory (e.g. /home/citrus, or something like that.)
 
Old 09-17-2004, 01:22 AM   #3
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
ok that worked
that was me just being dumb i am sorry

2 more questions

how can i make it so that you can't back up a directory once your loged in

and how can i enable fxp transfers (site to site)

Last edited by citrus; 09-19-2004 at 04:43 AM.
 
Old 09-19-2004, 04:43 AM   #4
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
help!!
 
  


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
Some (what should be) easy questions jlacroix Mandriva 6 07-08-2004 10:47 PM
a few easy questions citrus Linux - Software 10 04-23-2004 02:02 AM
Easy Questions Darktyco Slackware 4 11-14-2003 11:14 AM
2 easy questions I think whaase Linux - Distributions 0 11-16-2002 02:11 PM
Several easy questions rdaves@earthlink.net Linux - Newbie 2 06-08-2001 09:44 AM


All times are GMT -5. The time now is 06:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration