LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-04-2006, 04:30 PM   #1
animelook
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 12

Rep: Reputation: 0
FTP Password Error


I am in the process of switching servers, and I am attempting to set up FTP- unfortunately I can't find the sheet I wrote everything down on as far as setting FTP up went, so I've had to guess at some things. At any rate, this is what I did:
Code:
# groupadd webadmin
# useradd -g webadmin webadmin
# passwd webadmin
(entered password)
# mkdir /var/www/htdocs
# chown :webadmin /var/www/htdocs
# chmod g+w /var/www/htdocs
# nano /etc/apache2/sites-available/default
   -changed DocumentRoot from /var/www to /var/www/htdocs
#nano /etc/passwd
   -changed webadmin's home dir to /var/www/htdocs
I am using VSFTP. This is what I changed in it's config file:
CODE
Code:
# 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

# You may restrict local users to their home directories.  See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=YES

#Add the following lines at the end of the file
file_open_mode=0644
local_umask=0022
When I tried to log on in FileZilla, I get the error "Unable to connect!" So did I forget to do something, or did I do something wrong?

Also, my Dynamic IP is configured, as is my router- the server works, I just cant connect in FTP.

Thanks for any and all help,
K-kun

Last edited by animelook; 09-04-2006 at 04:31 PM.
 
Old 09-04-2006, 08:55 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
have you started the vsftpd daemon, check you using
ftp localhost
if you get an error, cannot connect that means you havent started the service
 
Old 09-04-2006, 10:58 PM   #3
animelook
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
I did what you said- I am definately conncted... but it says my login is incorrect. I think I missed something when setting FTP up, but I can't figure out what...
 
Old 09-05-2006, 06:03 AM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Quote:
I did what you said- I am definately conncted... but it says my login is incorrect. I think I missed something when setting FTP up, but I can't figure out what...
And when you log in, not through ftp, through ssh the password is correct for the user right?

You probably need to set up vsftpd with pam. Try that and you should be able to authenticate.

-twantrd
 
Old 09-05-2006, 02:23 PM   #5
animelook
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
How exactly do I got about setting up vsftpd and pam? I tried looking for tutorials, but I didn't find anything... sorry, I'm a bit of a newbie at all this.

Last edited by animelook; 09-06-2006 at 10:00 PM.
 
Old 09-07-2006, 11:41 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Have you tried the suggestions from the below link?

http://www.linuxforums.org/forum/red...ease-help.html

-twantrd
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount ftp with nfs using username and password? Nuvious Linux - Networking 1 05-17-2006 11:44 AM
ftp password error master Linux - Software 4 05-19-2005 04:59 PM
ftp user account password.... tosszafer Linux - Security 1 10-30-2004 07:05 PM
ftp server side user password..... tosszafer Linux - Software 1 10-29-2004 01:39 PM
FTP exposes password marghorp Linux - Security 2 02-10-2004 10:44 AM


All times are GMT -5. The time now is 07:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration