Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Vsftpd, User help
jjwl89
post Feb 27 2005, 02:18 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 27-February 05
Member No.: 4,708



Hello
I installed vsftpd on a machine running mandrake 10.1. I'm fairly new with linux. I would like users to be able to log in and access a directory. My conf file reads as follows:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
hide_ids=YES
ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=NO

When I try to ftp my machine it gives me the following error:

[root@localhost jason]# ftp localhost
Connected to localhost.
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:jason): jason
530 Permission denied.
Login failed.
ftp> quit
221 Goodbye.
[root@localhost jason]#

What files should I place the users I want to be able to log in into? Also, does each user need an account on the machine and when they log in what directory can they access? Finally, where do I place the passwords for the users to login with?

Thanks
Go to the top of the page
 
+Quote Post
Termina
post Mar 3 2005, 11:58 AM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Check /etc/passwd

I'm betting that you don't have a default shell specified. Try setting it to /bin/bash

(you can do this with a command, w/o writing to /etc/passwd: usermod -s /bin/bash jason)

You might have to restart vsftpd, but probally not.

Try again, and you're in!


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Avarus
post Oct 21 2006, 08:52 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 21-October 06
Member No.: 7,530



When I try to connect by the terminal it all goes ok, but when I try to connect on another computer, it turns out I can't (although he recognises username and password). Ports in the router are open, firewall allows VSFTPD, but still no connection.

/etc/vsftpd/vsftpd.conf:

CODE
chown_uploads=NO
xferlog_enable=YES
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=YES
ascii_download_enable=YES
background=YES
listen=YES
ls_recurse_enable=NO
chroot_local_user=YES
write_enable=YES

anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO

userlist_enable=YES
userlist_deny=YES
local_enable=YES
pam_service_name=vsftpd
Go to the top of the page
 
+Quote Post
DS2K3
post Oct 21 2006, 02:45 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Have you tried using Passive mode? FTP uses several ports (contl ports and data ports) and is notoriously trick to port-forward.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
Avarus
post Oct 22 2006, 02:54 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 21-October 06
Member No.: 7,530



QUOTE (DS2K3 @ Oct 21 2006, 09:45 PM) *
Have you tried using Passive mode? FTP uses several ports (contl ports and data ports) and is notoriously trick to port-forward.

D


How to use the passive mode? Do I have to change it in vsftpd.conf?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 08:51 PM