- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- After setting up securetty ftp cannot work
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:34 PM
05-31-2004 08:34 PM
I have an issue with my hp-ux 11.00. After i have set up securetty, the ftp cannot be access. i have checked that the process is running.
this is the error i get
ftp> ls
200 PORT command successful.
425 Can't build data connection: Connection refused.
ftp>
what is wrong with the connection
Regards,
Calvin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:40 PM
05-31-2004 08:40 PM
Re: After setting up securetty ftp cannot work
#cat /etc/shells
/usr/bin/ksh
/usr/bin/sh
/usr/bin/false
/sbin/sh
#
is the /etc/shells file has the shell of the user mentioned??
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:45 PM
05-31-2004 08:45 PM
Re: After setting up securetty ftp cannot work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:47 PM
05-31-2004 08:47 PM
Re: After setting up securetty ftp cannot work
Could you provide us more datailed infor about this issue?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:50 PM
05-31-2004 08:50 PM
Re: After setting up securetty ftp cannot work
securetty
with only
console
tty1
before that securetty was not included in the system.
i am not able to list out the file that is in the hp-ux system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:56 PM
05-31-2004 08:56 PM
Re: After setting up securetty ftp cannot work
if you don't have the shell of the user in the /etc/shells, you won't be able to login even. the message clearly shows that the port 20 which is used for ftp: data is blocked.
regds
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 09:28 PM
05-31-2004 09:28 PM
Re: After setting up securetty ftp cannot work
u may like to read this post:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=179550
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 09:41 PM
05-31-2004 09:41 PM
Re: After setting up securetty ftp cannot work
tried to force it to pasv.
but still the same problem happen
i still am not able to ftp
mget or get also cannot work
now i am seriously confused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 12:28 AM
06-01-2004 12:28 AM
Re: After setting up securetty ftp cannot work
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 12:37 AM
06-01-2004 12:37 AM
Re: After setting up securetty ftp cannot work
Yes, if the users shell is not in /etc/shells then you will get an error but there are other possibilities too. For example, if the ftp entry is commented out in /etc/services or /etc/inetd.conf. You will get this if /var/adm/inetd.sec is restricting you too.
However, it looks to me from your posting that you have actually logged in and it is when you type "ls" that you get the error. Either that, or you haven't logged in yet.
Could you explain exactly how you are connecting to the HPUX machine with ftp as I have heard some WIndows ftp clients don't always behave nice with ftp and need patching.
As a test, you could try ftp from the HP machine to itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 03:29 AM
06-01-2004 03:29 AM
Re: After setting up securetty ftp cannot work
cat /etc/services | grep ftp-data
is there any result returned? if there's a line returned, is it comment out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 03:49 AM
06-01-2004 03:49 AM
Re: After setting up securetty ftp cannot work
read here (search "200 port" into pdf file)
http://ovweb.external.hp.com/ovnsmdps/pdf/ovo_f40.pdf
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 02:11 PM
06-01-2004 02:11 PM
Re: After setting up securetty ftp cannot work
I do get connection to the machine only i am not sure what is restricting my connection to the machine...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 04:09 AM
06-02-2004 04:09 AM
SolutionTry this:
Let's say the userid you are trying to use for the ftp is called ftpuid.
grep ftpuid /etc/passwd
Look for the shell that ftp user is setup to use: something like /usr/bin/ksh (it's in the 7th and last field of the entry).
Now do:
touch /etc/shells
echo /usr/bin/ksh >> /etc/shells
Try your ftp again. Post your results here.
Sorrel Jakins
BYU
BTW (By The Way) - if user 'ftpuid' is only used for ftp and never logs on, you ought to give it a non-existant shell, such as /usr/bin/false, and then echo /usr/bin/false >> /etc/shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 04:16 AM
06-02-2004 04:16 AM
Re: After setting up securetty ftp cannot work
are you trying to do your ftp as root user ? by setting up securetty, you have restricted your root logins. And if you are trying to login to ftp as root, more than likely it will NOT work.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 12:59 PM
07-13-2005 12:59 PM