- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Issue
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
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
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
тАО07-19-2007 10:05 PM
тАО07-19-2007 10:05 PM
I have setup a user as restricted FTP use.
1. The config works fine and user is unable to switch the directory as we desired.
2. The home directory works as chrooted dir and user see the contents only below that as desired.
Issue is:
1. When we initiate FTP from windows FTP client, the connection establishes and then issue of ls command shows that file listings.But ftp from another hpux box for the same account, logs in well but when we do the ls command, there is no data shown.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete ---No Data
ftp>
2. Any of the GUI client like WS_FTP and other also doesnt show any data but they connect fine.
3. Same from windows FTP gives the required o/p/
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
-----files comes----
Any help? :)
Thanks
Anshu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2007 11:49 PM
тАО07-19-2007 11:49 PM
Re: FTP Issue
Just an suggest:
Are you sure of your command is ls
in my case, with ftp chroot, ls is a link to command dir
Check for you if it's not the same item.
Regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 12:03 AM
тАО07-20-2007 12:03 AM
Re: FTP Issue
Check the permissions of the chrooted ls command. Its probably not correctly owned.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 12:14 AM
тАО07-20-2007 12:14 AM
Re: FTP Issue
I hope this is the cause. I see the permission as /usr/bin/ls on the FTP Server as
-r-xr-xr-x 7 bin bin 28672 May 5 2003 /usr/bin/ls
What/where i need to put as a chrooted command. The restristed user falls into FTP only group. Looks like i am missing something, but where....... :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 12:29 AM
тАО07-20-2007 12:29 AM
Re: FTP Issue
SEP i couldnt assign points to you again, though you both were right in your approach.
Thanks,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 12:31 AM
тАО07-20-2007 12:31 AM
Re: FTP Issue
Cheers!