- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP - False Shell - Chroot????
Operating System - HP-UX
1825007
Members
2878
Online
109678
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
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
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
тАО07-05-2001 10:08 AM
тАО07-05-2001 10:08 AM
FTP - False Shell - Chroot????
I have been searching through several of these FTP security issues including the one on
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x90f6a12d6d27d5118fef0090279cd0f9,00.html
I have the shell properly restricted to ftp. However, I would like to restrict the path that the user can navagate.
I have tried adding the /./ to the end of the users home directory and that does not seem to do anything:
#ftp:JA9D0LHFC8PJ2:500:500:anonymous ftp:/home/ftp:/usr/bin/false
booger:z2jOibe4mGdh2:501:500:Guest Account:/home/ftp/./:/usr/bin/false
ftp was a previously established anonymous account per `man ftpd`.
/usr/bin/false is in /etc/shells. the 500 guest group is listed as ftponly in /etc/ftpd/ftpaccess. What am i missing here?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x90f6a12d6d27d5118fef0090279cd0f9,00.html
I have the shell properly restricted to ftp. However, I would like to restrict the path that the user can navagate.
I have tried adding the /./ to the end of the users home directory and that does not seem to do anything:
#ftp:JA9D0LHFC8PJ2:500:500:anonymous ftp:/home/ftp:/usr/bin/false
booger:z2jOibe4mGdh2:501:500:Guest Account:/home/ftp/./:/usr/bin/false
ftp was a previously established anonymous account per `man ftpd`.
/usr/bin/false is in /etc/shells. the 500 guest group is listed as ftponly in /etc/ftpd/ftpaccess. What am i missing here?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 10:46 AM
тАО07-05-2001 10:46 AM
Re: FTP - False Shell - Chroot????
If you are using hpux 11.0, You can set up an ftpaccess file.
man ftpaccess
...jcd...
man ftpaccess
...jcd...
If I had only read the instructions first??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 01:19 PM
тАО07-05-2001 01:19 PM
Re: FTP - False Shell - Chroot????
The user probably isn't in 'guestgroup' in the ftpaccess file.
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2001 05:36 AM
тАО07-06-2001 05:36 AM
Re: FTP - False Shell - Chroot????
I think have reached a turning point. It was a matter of modifying /etc/inetd.conf to start the ftpd with a -a to read the /etc/ftpd/ftpaccess file. Then issueing an inetd -c to reread the /etc/inetd.conf file.
Now it should be just a matter of restricting the access file to my liking.
BTY: http://www.wu-ftpd.org/HOWTO/guest.HOWTO is linix based but a pretty good resource.
Thanks for the help!!!!!
Now it should be just a matter of restricting the access file to my liking.
BTY: http://www.wu-ftpd.org/HOWTO/guest.HOWTO is linix based but a pretty good resource.
Thanks for the help!!!!!
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP