HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP question
Operating System - HP-UX
1836438
Members
3529
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-27-2005 07:28 AM
01-27-2005 07:28 AM
FTP question
Ok,
I've set up a new user who needs FTP access to send some daily billing files. I assigned them a restricted shell (/bin/rksh) and made their "home" directory the directory where they should drop the files.
In my testing, if I simply telnet and login as that user, I can't change directory to any other directory, which is the way I want it. BUT, via FTP, I can traverse all the way down to root and anywhere else. I need to prevent that.
Any tips?
I've set up a new user who needs FTP access to send some daily billing files. I assigned them a restricted shell (/bin/rksh) and made their "home" directory the directory where they should drop the files.
In my testing, if I simply telnet and login as that user, I can't change directory to any other directory, which is the way I want it. BUT, via FTP, I can traverse all the way down to root and anywhere else. I need to prevent that.
Any tips?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:32 AM
01-27-2005 07:32 AM
Re: FTP question
Hi Scott,
Use ftpaccess to control the id behavior,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073094324
The itrc doc id is KBRC00008355.
Hope this helps.
Regds
Use ftpaccess to control the id behavior,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073094324
The itrc doc id is KBRC00008355.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:33 AM
01-27-2005 07:33 AM
Re: FTP question
ftp can be set up with chroot as well.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=81322
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D4656%26qt%3D%252Bftp%2B%252Bftpaccess%2B%252Bchroot%26hit%3D2&aid=SEARCH_FORUMS&pil=2&serStr=ftp+ftpaccess+chroot&pir=2
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D580292%26qt%3D%252Bftp%2B%252Bftpaccess%2B%252Bchroot%26hit%3D3&aid=SEARCH_FORUMS&pil=3&serStr=ftp+ftpaccess+chroot&pir=3
One of those should do it.
Bastille will provide instructions for ftp chroot access as well if you run it against your server.
SEP
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=81322
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D4656%26qt%3D%252Bftp%2B%252Bftpaccess%2B%252Bchroot%26hit%3D2&aid=SEARCH_FORUMS&pil=2&serStr=ftp+ftpaccess+chroot&pir=2
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D580292%26qt%3D%252Bftp%2B%252Bftpaccess%2B%252Bchroot%26hit%3D3&aid=SEARCH_FORUMS&pil=3&serStr=ftp+ftpaccess+chroot&pir=3
One of those should do it.
Bastille will provide instructions for ftp chroot access as well if you run it against your server.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP