LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-20-2005, 07:06 AM   #1
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43
Blog Entries: 1

Rep: Reputation: 15
Question vsftp server


Hi. I'm tryinf to create a ftp server using vsftp. In the vsftpd.conf file i said no for anonymous loggins. Each time i try to connect to the ftp site, it asks me for a password ( whish best fits my safety ), so i type my username and password (which im using to log on to the linux box) and it doesnt allow me access to the site.

How do i create users to log on to my box. Could someone please tell me what i'm doing wrong?
Thanks.
 
Old 04-20-2005, 07:30 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
hi icedude,
the used login-user must have rights on the ftp-dir!
 
Old 06-15-2006, 12:52 AM   #3
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Question vsftp server

Hi. I got my vsftpd server to work. It's hard if you dont know how.

I wanted my users that i had to log onto my server. I "disabled" anonymous logins and chrooted my users in there home folder by
commenting out the following:

# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list

then create the file in /etc called vsftpd.chroot_list.
 
Old 06-15-2006, 08:06 PM   #4
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Quote:
Originally Posted by icedude
Hi. I got my vsftpd server to work. It's hard if you dont know how.

I wanted my users that i had to log onto my server. I "disabled" anonymous logins and chrooted my users in there home folder by
commenting out the following:

# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list

then create the file in /etc called vsftpd.chroot_list.
There are other and i think it is the easiest way to chrooted the user in to their home directory. put this line into your vsftpd.conf
Code:
chroot_local_user=YES
and comment those option you mentioned above.
I didn't said that it is wrong to use your way to chrooted user but you need to specify the user in vsftpd.chroot_list.

Anyway this is depend on how you want your user to access your ftp server, if you want only your users has access only in their home directory then my code will be better, but if you want some of the user only then you ca use yours

Hope this helps you.
 
  


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
problem configuring vsftp server juanb Linux - General 11 09-26-2005 11:01 PM
vsftp server seshank Linux - Software 3 04-11-2005 07:40 PM
vsftp server studeman Linux - Newbie 4 03-12-2005 07:24 AM
VSFTP server set up pradi_net Linux - General 3 05-05-2004 04:49 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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