1823251 Members
3319 Online
109648 Solutions
New Discussion юеВ

Re: Problem With FTP

 
SOLVED
Go to solution

Problem With FTP

Dear All,

I am facing a unique problem, I have created few Unix users in my HP-UX workstation. and FTP is enabled in my server. When I try to connect HP-UX workstation using FTP with newly created users login, it says login failed.

Please try to help me out.

Thanks in Advance.

Regards,

Yajuvendra Singh

10 REPLIES 10
Arunvijai_4
Honored Contributor

Re: Problem With FTP

Hello,

Create a file called "ftpusers" in /etc/ftpd and chown bin:bin. Enter the usernames you want to disable access from using FTP.

#cat /etc/ftpd/ftpusers
root
abcd

Here, root and abcd cant access FTP.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Hoang Chi Cong_1
Honored Contributor

Re: Problem With FTP

Hi man,

Did you check for the inetd.sec file?
This file is located in /var/adm/ directory.

Are those server's IP address presented from this file? If not, add those IP address like:
fpt allow IP_address
Please show me the content this file.

Goodluck
Hoang Chi Cong
Looking for a special chance.......
Hoang Chi Cong_1
Honored Contributor

Re: Problem With FTP

Forgot....

Run #inetd -c after modify the inetd.sec file to get effect

Goodluck
Hoang Chi Cong
Looking for a special chance.......
Peter Godron
Honored Contributor

Re: Problem With FTP

Hi,
does the ftp wotrk for root?

please also have a look at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979769

Please note the /etc/services part.
Raj D.
Honored Contributor
Solution

Re: Problem With FTP

Hi Yajuvendra ,

Check this page for /etc/inetd.conf and /var/adm/inetd.sec notes:


http://web.tampabay.rr.com/batcave/inetd_conf.htm

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Arunvijai_4
Honored Contributor

Re: Problem With FTP

Muthukumar_5
Honored Contributor

Re: Problem With FTP

Can you able to login with telnet using newly created users. I hope it is because of password which you are using?

By default if FTP is enabled then users able to use ftp.

-Muthu
Easy to suggest when don't know about the problem!

Re: Problem With FTP

Dear all,

I am able to telnet with created users and able to ftp from DOS command prompt also, but when I am using the wsftp32(WINDOWS FTP) application to connect to UNIX workstation with new users login is getting failed.

Regards,

Yajuvendra Singh
Arunvijai_4
Honored Contributor

Re: Problem With FTP

Then, its a problem with WSFTP, check the conneciton options, let us know what all selected and selected.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Raj D.
Honored Contributor

Re: Problem With FTP

Yajuvendra,

Seems its problem with configureing wsftp32.
If you can able to login from DOS prompt , you can also login from wsftp32. Check your configuration , including username and password.

You can check the wsftp readme file :
http://www.cs.siu.edu/~kfong/cs220/links/wsftp_readme.txt

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "