HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: About anonymous ftp
Operating System - HP-UX
1833814
Members
2361
Online
110063
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
Go to solution
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
03-06-2002 12:53 AM
03-06-2002 12:53 AM
I have read several topics about anonymous ftp,
If I copy file /usr/bin/ls to anonymous ftp home directory, a directory named /home/ftp/usr/lib is needed, and serveral files should be copied from /usr/lib to it.
But if I copy file /sbin/bin/ls to anonymous ftp home directory ,the directory /home/ftp/usr/lib isn't needed.
By the way, the documents of HP doesn't mention the directory /home/ftp/usr/lib. But it's wrong indeed.
Why?
Best Regards.
xujun
If I copy file /usr/bin/ls to anonymous ftp home directory, a directory named /home/ftp/usr/lib is needed, and serveral files should be copied from /usr/lib to it.
But if I copy file /sbin/bin/ls to anonymous ftp home directory ,the directory /home/ftp/usr/lib isn't needed.
By the way, the documents of HP doesn't mention the directory /home/ftp/usr/lib. But it's wrong indeed.
Why?
Best Regards.
xujun
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 01:16 AM
03-06-2002 01:16 AM
Re: About anonymous ftp
I always copy /sbin/ls to the appropriate usr/bin directory, as /usr/bin/ls does not appear to list files correctly when used within FTP.
Have never heard of security implications of using this version of 'ls', but that doesn't mean that there are not any?
Share and Enjoy! Ian
Have never heard of security implications of using this version of 'ls', but that doesn't mean that there are not any?
Share and Enjoy! Ian
Building a dumber user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 08:12 AM
03-06-2002 08:12 AM
Solution
Most documentation overstates what's needed in the chroot area. What you really need is /sbin/ls put in /bin of the chroot area.
The /lib stuff is if you use other binaries (compress, etc.) that require the library files. /sbin/ls doesn't depend on other libraries, it's statically linked.
The /etc/passwd, /etc/group stuff converts UIDs and GIDs in the chroot area into names, but the passwd file and the group file are not required to make anonymous ftp work.
For security, I err on the side of fewer apps (i.e. forget compress, forget the password file, etc.).
Here's a good link to set up guest access:
http://www.wu-ftpd.org/HOWTO/guest.HOWTO
The /lib stuff is if you use other binaries (compress, etc.) that require the library files. /sbin/ls doesn't depend on other libraries, it's statically linked.
The /etc/passwd, /etc/group stuff converts UIDs and GIDs in the chroot area into names, but the passwd file and the group file are not required to make anonymous ftp work.
For security, I err on the side of fewer apps (i.e. forget compress, forget the password file, etc.).
Here's a good link to set up guest access:
http://www.wu-ftpd.org/HOWTO/guest.HOWTO
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