HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricted FTP unable to view file by ls
Operating System - HP-UX
1830933
Members
1944
Online
110017
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
02-14-2001 09:52 AM
02-14-2001 09:52 AM
Restricted FTP unable to view file by ls
hello!
I was wondering if someone can guide to
enable restricted ftp on my system.
So that the users can not look at the listing
by ls, they can get the files that they
know exist.
Thanks,
Farida
I was wondering if someone can guide to
enable restricted ftp on my system.
So that the users can not look at the listing
by ls, they can get the files that they
know exist.
Thanks,
Farida
Doing something imperfectly is better than doing perfectly nothing
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 04:42 AM
02-15-2001 04:42 AM
Re: Restricted FTP unable to view file by ls
On 11.X you can install the latest FTP patch and enable WU-FTPD functionality. After installation, there is a great file place in /usr/share/doc that explains how to use this functionality. Perhaps that will help.
Unfortunately, this is not supported on 10.20
Berlene
Unfortunately, this is not supported on 10.20
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 01:50 PM
02-20-2001 01:50 PM
Re: Restricted FTP unable to view file by ls
If you change the UNIX permissions on the directory to execute only then a user (including a ftp user) can cd to the directory but ls will report 0 files:
chmod 711 /ftpdir
chmod 711 /ftpdir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 05:30 AM
02-21-2001 05:30 AM
Re: Restricted FTP unable to view file by ls
If you've created a restricted FTP, did you remember to create (under the restricted users home directory) a bin directory and then do:
cp /usr/bin/pwd /home//bin
cp /sbin/ls /home/bin
chmod 0111 /home//bin/ls
chmod /home//bin/pwd
chown root /home//bin
chmod 0555 /home//bin
Just a thought,
/rcw
..please note above to copy ls from /sbin !!
cp /usr/bin/pwd /home/
cp /sbin/ls /home
chmod 0111 /home/
chmod /home/
chown root /home/
chmod 0555 /home/
Just a thought,
/rcw
..please note above to copy ls from /sbin !!
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