HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11i ftp jailing
Operating System - HP-UX
1838594
Members
4017
Online
110128
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
11-03-2003 02:18 AM
11-03-2003 02:18 AM
HPUX 11i ftp jailing
I am trying to create an ftp account that is 'jailed' to a specific directory. Basically I want the user to log in via ftp and see /home/ftpuser as "/". They do not need to log in via ssh or telnet. I see there is this 'chroot' command, but it does not make sense for what I am trying to do. How do I accomplish this?
Most things worth having don't come easily.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:25 AM
11-03-2003 02:25 AM
Re: HPUX 11i ftp jailing
choot jail makes a great deal of sense for this type of situation.
It keep the user from stepping up to root and obtaining configuration informaion on the server.
Always a good idea.
A discussion:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/01/113-con.html&toc=/hpux/onlinedocs/5187-2216/00/01/113-toc.html&searchterms=chroot%7cjail%7cftp&queryid=20031103-082116
You set the user shell to /sbin/false and you add chroot() to the ftpacess file for that user.
SEP
It keep the user from stepping up to root and obtaining configuration informaion on the server.
Always a good idea.
A discussion:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/01/113-con.html&toc=/hpux/onlinedocs/5187-2216/00/01/113-toc.html&searchterms=chroot%7cjail%7cftp&queryid=20031103-082116
You set the user shell to /sbin/false and you add chroot() to the ftpacess file for that user.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 07:44 AM
11-03-2003 07:44 AM
Re: HPUX 11i ftp jailing
Jayson -
Attached is the documentation we use to set up a restricted ftp user.
I think you'll find what you need here.
Regards,
dl
Attached is the documentation we use to set up a restricted ftp user.
I think you'll find what you need here.
Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 10:30 AM
11-03-2003 10:30 AM
Re: HPUX 11i ftp jailing
http://www.wu-ftpd.org/HOWTO
check out the guestgroup/guest-root/restricted-uid directives for the ftpaccess file.
check out the guestgroup/guest-root/restricted-uid directives for the ftpaccess file.
Remember, wherever you go, there you are...
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