Fedora Linux Support Community & Resources Center
Old 3rd July 2005, 09:56 PM
senzacionale Offline
Registered User
Join Date: Jul 2005
Posts: 40
vsftpd problem

i have problem with vsftpd.

I can't make that users which has shell on my comp can connect to their shell by ftp with their username and pass.

What i must do in vftpd.conf for that. I look in google and faq in ftp://vsftpd.beasts.org/users/cevans...ftpd-2.0.3/FAQ but i don't know

Reply With Quote
Old 3rd July 2005, 10:04 PM
rayyes Offline
Registered User
Join Date: Dec 2004
Location: Toronto, ON
Posts: 408
I haven't used vsftpd yet but...

the settings in the vsftpd.conf file should be like:

It is important to note that it is an error to put any space between the option, = and value.

also from the vsftpd MAN page:
An optional [configuration file] may be given on the command line. This configuration files has to be owned by root. The default configuration file is

are you sure you gave the configuration file while starting vsftpd?

Finally you should give the site http://www.vsftpdrocks.org a try.. It holds you hand through the whole process.

I hope that helps.
Peace - To the Middle East.
Reply With Quote
Old 3rd July 2005, 10:07 PM
senzacionale Offline
Registered User
Join Date: Jul 2005
Posts: 40
thnx but i alreday look this but i can't fix that users which has shell can connect to their directory by username and passwd?
Reply With Quote
Old 3rd July 2005, 10:09 PM
senzacionale Offline
Registered User
Join Date: Jul 2005
Posts: 40
i try proftpd but i cant make this

addgroup ftpuser
usermod -G ftpuser username

i try by this faq but addgroup not working!
 So far there was created a standard configuration file. To grant only some users access over ftp, who only can view their homedir on the server (chroot environment), put this users together in one secondary group. Access will only be able for users of this group. At first, create this group.

obelix:~# addgroup ftpuser

Then, every user who should have ftp acces have to be at least a secondary member of this group. Either you choose the option -G ftpuser at creating the user or additional you add users to the secondary group using

obelix:~# usermod -G ftpuser username

An adapted configuration file could look like this:

# 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 "meinserver"
ServerType inetd
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-l"

DenyFilter \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# Port 21 is the standard FTP port.
Port 21

# 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

# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022

AllowOverwrite on

# here are my improvements

# chroot for all users of the group ftpuser
DefaultRoot ~ ftpuser

# grant login only for members of the group
<Limit LOGIN>
DenyGroup !ftpuser

# disable root login and require a valid shell (from /etc/shells)
RootLogin off
RequireValidShell on

# increase
UseReverseDNS off
IdentLookups off

# Logging formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

# activate logging

# every login
ExtendedLog /var/log/ftp_auth.log AUTH auth

# file/dir access
ExtendedLog /var/log/ftp_access.log WRITE,READ write

# forr paranoid (big logfiles!)
#ExtendedLog /var/log/ftp_paranoid.log ALL default
Reply With Quote
Old 4th July 2005, 05:04 AM
gavinw6662 Offline
Registered User
Join Date: Feb 2005
Age: 38
Posts: 1,281
hmmm, how is your setup, behind a normal linksys type router?? To get it to work on my home box, I had to set it in promiscous mode.
Reply With Quote
Old 4th July 2005, 02:42 PM
senzacionale Offline
Registered User
Join Date: Jul 2005
Posts: 40

yes i am behind router but port 21 is opend and foward to thi IP.

Now i am trying proftpd but i don't know how to make addgroupr. How to add groups in fedora!
Reply With Quote
Old 4th July 2005, 03:09 PM
holycrap Offline
Registered User
Join Date: Apr 2005
Location: Maryland
Posts: 32
Originally Posted by senzacionale
Now i am trying proftpd but i don't know how to make addgroupr. How to add groups in fedora!
Use system-config-users.

Or, if you want to do it via the command line, use /usr/sbin/groupadd. I suggest reading man groupadd first.
Reply With Quote

problem, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with vsftpd Rosoft Security and Privacy 5 20th February 2007 02:02 AM
vsftpd problem krneki Servers & Networking 6 10th June 2006 10:57 AM
vsftpd problem senzacionale Using Fedora 2 23rd July 2005 05:42 AM
Another vsftpd problem sstevens Servers & Networking 6 3rd March 2005 01:26 PM

Current GMT-time: 00:47 (Monday, 25-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat