LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2006, 10:15 AM   #1
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Rep: Reputation: 15
How to allow specific user to login Vsftp server



Hi Everyone ,

i just started the service of vsftpd in

the fedora core 4 ,now its loogging in through

anonymous login ,so how i can i allow only specify user

to login through the ftp server ?

well and good if any one can helop out of this issue

Thanks & Regards
winxandlinx
 
Old 05-18-2006, 10:52 AM   #2
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
working in /etc/vsftpd/vsftd.conf will do the job. and also see these files: vsftpd.ftpusers vsftpd.user_list
 
Old 05-18-2006, 11:08 AM   #3
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Hi mchitrakar,

Thanks for your Reply ,But can you describe briefly

Since i am new to linux thats y

Thanks & Regards
winxandlinx
 
Old 05-18-2006, 12:29 PM   #4
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
do in vsftpd.conf:
anonymous_user=NO
...
userlist_enable=YES
userlist_deny=NO
and add your user to "vsftpd.user_list"
check that your user is not in "vsftpd.ftpusers"
 
Old 05-24-2006, 07:47 AM   #5
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 15
i am getting the login screen but i accnot able to login through

root and other username also ,anything has to be done apart from

that


here my vsftpd.conf file


Example config file /etc/vsftpd.conf

#
# Allow anonymous FTP?
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES

local_umask=022

#anon_upload_enable=YES
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES

connect_from_port_20=YES
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
You may fully customise the login banner string:
ftpd_banner=Welcome to blah FTP service.
pam_service_name=vsftpd
userlist_enable=YES

#enable for standalone mode
listen=YES
tcp_wrappers=YES

my vsftpd.user_list file

vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd.ftpusers
# for users that are denied.

bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

my vsftpd.ftpusers

# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody


Thanks & Regards
winxandlinx

Last edited by winxandlinx; 05-24-2006 at 07:49 AM.
 
  


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
vsftp.conf slackware -- local user login Pozican Linux - Software 3 05-08-2005 11:03 AM
WinXP user can not login LINUX File Server. thinhpham Linux - Networking 3 12-28-2004 11:24 PM
Unable to login as local user with vsftpd running on the server kairamr Linux - Newbie 1 06-09-2004 03:25 PM
how to flash a message to a specific user on login mtest Programming 5 10-30-2003 02:36 AM
anonymous user can't login vsftp java8964 Linux - General 1 08-07-2002 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration