- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP transfer restriction
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
04-15-2009 11:53 PM
04-15-2009 11:53 PM
FTP transfer restriction
Our customer has an HP server rp3440 running HP-UX 11i v1. They are using "cuteptppro.exe" from Windows workstation to trnasfer files from /to HP server through ftp protocol.
In fact the above utility uses a non-root account (user1) for the transfer but the problem is that user1 can access and transfer any directory from / (root directory).
How can i restrict the access and transfer to a special director ( /data/tmp ) .
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 12:11 AM
04-16-2009 12:11 AM
Re: FTP transfer restriction
Apply chroot for restriction the same user.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 12:28 AM
04-16-2009 12:28 AM
Re: FTP transfer restriction
You need to configure unix account with chroot restriction. Refer these threads on how to configure chroot.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1239870243403+28353475&threadId=580292
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1043408&admit=109447626+1239870356408+28353475
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 01:20 AM
04-16-2009 01:20 AM
Re: FTP transfer restriction
user1 can only transfer to directories with write permission, which isn't / but would include /tmp and /var/tmp and user1's home directory. It probably can read from /.
The chroot solution mentioned above would stop those reads too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 01:43 AM
04-16-2009 01:43 AM
Re: FTP transfer restriction
I need more details about chroot restriction.
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 03:32 AM
04-16-2009 03:32 AM
Re: FTP transfer restriction
I could restrict the transfer and access to one directory under HPUX server.
Still to fix a problem : the files of the HPUX directory are not listed on screen within the cuteftp utility ; the files of the windows directories are displayed.
So i am able to transfer files from windows to HPUX but i am not able to transfer files from HPUX to windows.
Please advise
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 03:53 AM
04-16-2009 03:53 AM
Re: FTP transfer restriction
add the line:
ftp deny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 03:54 AM
04-16-2009 03:54 AM
Re: FTP transfer restriction
This link has enough details. You can open the attachment in the below link.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=497251
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 04:02 AM
04-16-2009 04:02 AM
Re: FTP transfer restriction
if you are not sure I address makes ftp to your server use this:
edit /var/adm/syslog/syslog.log
and watch for the line like this:
FTP LOGIN FROM
add the line :
ftp deny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 05:07 AM
04-16-2009 05:07 AM
Re: FTP transfer restriction
Hello,
Still facinf the following problem : the files of the HPUX directory are not listed on screen within the cuteftp utility ;
Please advise
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 06:40 AM
04-16-2009 06:40 AM
Re: FTP transfer restriction
> files of the HPUX directory are not listed
> on screen within the cuteftp utility ;
For completeness, it would be good to try
things using a simple (stupid) FTP client
program instead of a fancy, GUI FTP client,
but a popular reason for this kind or problem
is not doing what "man ftpd" says to do.
See, for example:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1256358
If you need more information, you may need to
say more about what you did.
To the answerers:
> Refer these threads [...]
Note that when citing ITRC threads, it's
normally faster/safer if you say "forums."
instead of "forumsN." (N = 11, 13, ...), and
you can omit the whole "admit=X+Y+Z"
parameter in the URL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 07:14 AM
04-16-2009 07:14 AM
Re: FTP transfer restriction
So, does that mean that everything works now,
or everything half-works now, or half of
everything works now, or that you still
haven't read "man ftpd", or what?
> Please advise
Same to you.