- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set a default FTP directory for a user?
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
08-11-2005 12:16 PM
08-11-2005 12:16 PM
I have the need for one of my users to FTP files onto our production server for harvesting by our application.
However I want the FTP session to have a new 'root' directory so that they can't go 'up' past their default to the '/' filesystem and so on, for obvious reasons.
For example, how can i set a users FTP 'root' (for want of a better word) to be something like /shared/interface/apps/live ?
We're running HP UX 11i 11.11 64 bit.
Simple 'baby step' instructions for 10 pts!
Thanks.
-John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 01:11 PM
08-11-2005 01:11 PM
SolutionHP-UX Secure Shell A.03.91.008/009 supports chroot functionality for SSH, SFTP and SCP. The chroot functionality is mainly used as an added security measure.
For more detailed setup see this:
http://docs.hp.com/en/T1471-90011/ch01s12.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 01:19 PM
08-11-2005 01:19 PM
Re: How to set a default FTP directory for a user?
Good day to you !
Please check the document about 'configuring FTP sublogins' at the url below (docID : N2X941205009) :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080064538
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 01:28 PM
08-11-2005 01:28 PM
Re: How to set a default FTP directory for a user?
You can use this document about 'setting up ftp sub logins' also (documentID : A4450878) :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080093715
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 04:01 AM
08-12-2005 04:01 AM
Re: How to set a default FTP directory for a user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 04:13 AM
08-12-2005 04:13 AM
Re: How to set a default FTP directory for a user?
make the the users default shell /usr/bin/false, and the home directory/shared/interface/apps/live, either by vi'ing the /etc/passwd file or by using SAM to modify the user profile.
Yu may also need to create a file called /etc/shells, which is nothing more than a list of allowed shells for logins (use the fully qualified path listed in /etc/passwd)