#1  
Old 19th December 2006, 00:39
leo leo is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb VSFTPD config improvement

Hello I'm Leo.
It's my first post .... I don't speak english ... but i will to do my best effort
OK....
I use VSFTP for ftp server.
I have see some "problems" in the standard config of vsftp. for this... i use one file (/etc/vsftpd.users) where i put (1 per line) users allowed to login on ftp service and what don't be allowed to "go out" of their home directory.
Is posible add the funcionality of put login name in that file when a new ftp user is added ??

For that i use the next config in /etc/vsftpd.conf:
anonymous_enable=NO
## Allow local users to log in.
local_enable=YES
## Enable any form of FTP write command:
write_enable=YES
## Users listed in this file only can view yours home directory:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.users
## Only enable users listed in this file:
userlist_file=/etc/vsftpd.users
userlist_enable=YES
userlist_deny=NO
## Allow to use /bin/false as user's shell:
check_shell=NO

That's all for now ...
cheers for all !!!
Leo
Reply With Quote
Sponsored Links
  #2  
Old 19th December 2006, 09:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,566
Thanks: 791
Thanked 4,979 Times in 3,900 Posts
Default

Hi Leo,

looks like a interesting setup. Which problems do you get with the default ISPConfig FTP configuration? Chrooting to the users home directory is possible with the default configuration too, or do you chroot to other directories then the users home directory?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th December 2006, 16:32
leo leo is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello!! thanks for reply!

Whit the standard conf chroot don't work for me. I have make some probes and nothing. In addition, i "need" that only some users can use FTP (i.e. don't allow mail users), but only this (i.e. not ssh-> shell=/bin/false). Even i use AllowUsers in sshd_conf ... but... i want a system "very closed"

OH! i'm using slackware if it help !!

thanks again !!

Leo
Reply With Quote
Reply

Bookmarks

Thread Tools
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
help with the Postfix Spam Filter using Ubuntu Dapper, MailScanner... tutorial the block Suggest HOWTO 1 8th November 2006 18:20
vsftpd difficulties teves Installation/Configuration 2 19th October 2006 09:51
VSFTPD & IDENT Lookups again trueshanti Installation/Configuration 5 3rd September 2006 14:36
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48
Config file templates till Developers' Forum 0 30th July 2005 23:10


All times are GMT +2. The time now is 10:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.