ftp server setup help


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ftp server setup help
# 1  
Old 03-17-2009
ftp server setup help

Hello all,

Am in the process of setting up ftp server in my RHEL3 box.

Here is where I downloaded the vsftp server
ftp://scary.beasts.org/users/cevans/...1.1pre1.tar.gz

ftp server daemon is running fine, accepting connections from client but the issue is that 'user' I specifically created for this ftp is unable to login.

Created new user with : useradd
and shell as /dev/null and false login : /bin/false

Changed password with : passwd

anonymous login for ftp is disabled and local login is enabled

But I could not login using the username and password from ftp client.

Is there any setup or configuration that I have missed? Could you please point me to that ?

Many thanks in advance.
# 2  
Old 03-17-2009
I think the ftp server requires the user to have a valid shell and (though I am not sure about vsftp as it is much more secure than most ftp servers) a writeable home directory. There are various restricted shells available, depending on your OS, mr. google should be able to help you out there. Have you looked through the vsftp docs? (vsftpd - Secure, fast FTP server for UNIX-like systems)
# 3  
Old 03-18-2009
Why does it require a valid shell? I don't think that its needed.

Else, unlike a ftp login an user can login to the system as a normal user.

That is the reason, a '/dev/null' as the shell and /bin/false is set in passwd file.
# 4  
Old 03-18-2009
A valid shell is defined by being in /etc/shells:
Code:
ant:/home/vbe/bin $ more /etc/shells
/usr/bin/false
/usr/lbin/uucp/uucico
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/sh
/usr/bin/ssh
/usr/bin/rsh
/sbin/sh
/bin/sh
/bin/ksh
/usr/dt/bin/dtksh
/usr/bin/csh

So thats not the reason...
Have you looked at your files ftpaccess and ftpgroups (for me in /etc/ftpd with your soft no idea...)
(Just thoughts..)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to setup a password less ftp??

hi, i want to setup a password less FTP to a remote server so that i can ftp to a remote server without the password. i have setup a passwordless ssh and i am able to use scp commands to connect to the remote server without asking for the password. but when i try to ftp to the same remote... (6 Replies)
Discussion started by: Little
6 Replies

2. Red Hat

Implement FTP server on RHEL server without using FTP client

We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Discussion started by: RHCE
3 Replies

3. UNIX for Dummies Questions & Answers

To setup chrooting ftp

Hi Guru's , Can some one explain me what is chrooting ftp and how to setup the same in Solaris 10 Local zone (Sparse). Thanks In Advance. (1 Reply)
Discussion started by: rama krishna
1 Replies

4. UNIX for Advanced & Expert Users

Setup Secure FTP

Hi All, Please help me to setup the secure Ftp. I want to build a ftp which should ask the Login id and password, and one thing more a particular login should be enable to read/write only his/her directory i.e,s a user should not be able to open the other directories in the ftp.Please help me... (1 Reply)
Discussion started by: akhtar.bhat
1 Replies

5. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

6. HP-UX

How To Setup Ftp Server

Hi, I'm planning to setup ftp server but I dont have yet what platform i'll be using. I think what ever flavor it is it will go in the same approach right, anyway I just would like to ask how to setup ftp in unix I know too many of here alraedy done with it. Thanks in advance. (0 Replies)
Discussion started by: eykyn17
0 Replies

7. UNIX for Dummies Questions & Answers

setup a DNS server for my redhat server

Using Redhat Linux Enterprise AS 4 can someone teach me how to setup a dns server for my webserver? i've registered a domainname at mydomain.com but when i type in the domain i register i cannot enter to my webserver. someone told me that it is related with the DNS setting on my server. i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies

8. IP Networking

UNIX FTP setup

I just had to rebuild my Sun Ultra 2 running Solaris 2.5.1 as the boot drive failed. Now I can't log on from the Windows XP using WS_FTP Pro, and can't see the PC on the sun using ftp (it just hangs). I think I need to add IP addresses to the host file on the Sun box, but can't find information... (4 Replies)
Discussion started by: pilgrim4119
4 Replies

9. Solaris

user setup - only ftp access

I want to setup a user on my server and only allow that user to ftp to my server but not to be able to get to command line (telnet /ssh) I ammended my /etc/passwd so the users shell would be /usr/bin/false and this prevents log on but it also prevents the ftp.. Any ideas? (1 Reply)
Discussion started by: frustrated1
1 Replies

10. UNIX for Dummies Questions & Answers

How to setup an FTP server?

i want setup an ftp server on my homelab now i downloaded resource management book from sun there it shows you how to make the entry in the inet.d.conf file also how to control ftp access but how do u actually set it up? say like i want certain file to be obtain through ftp how do i do that? oh... (1 Reply)
Discussion started by: rmuhammad
1 Replies
Login or Register to Ask a Question