HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess and directory listing probelm in ftp cli...
Operating System - HP-UX
1834908
Members
2852
Online
110071
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
10-08-2004 12:58 AM
10-08-2004 12:58 AM
ftpaccess and directory listing probelm in ftp client
Hi,
I have configured ftpaccess file in the follwoing way.
cd usr/newconfig/etc/ftpd
cp -p ftpaccess /etc/ftpd/ftpaccess
vi /etc/ftpd/ftpaccess
change following two lines in ftpaceess as under
delete yes guest,anonymous # delete permission?
guestgroup gorupname_to_be_restricted gorupname_to_be_restricted gorupname_to_be_restricted
vi /etc/inted.conf
and add -a to ftp entry in last as
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -L
$inetd -c "to rearead inetd config file by inetd daemon"
Now this restriction to home directory is working fine and when I connect using commnad prompt ls command list the files in home directory.
THe problem is when I use ftp client software like cuteftp the directory listing is not shown. WE have to manually put the directory names to move inside the restricted directory.
Is there any configuration required on server side or client cuteftp side to view the listing of directory.
Thanks and regards
Jawed AKhtar
I have configured ftpaccess file in the follwoing way.
cd usr/newconfig/etc/ftpd
cp -p ftpaccess /etc/ftpd/ftpaccess
vi /etc/ftpd/ftpaccess
change following two lines in ftpaceess as under
delete yes guest,anonymous # delete permission?
guestgroup gorupname_to_be_restricted gorupname_to_be_restricted gorupname_to_be_restricted
vi /etc/inted.conf
and add -a to ftp entry in last as
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -L
$inetd -c "to rearead inetd config file by inetd daemon"
Now this restriction to home directory is working fine and when I connect using commnad prompt ls command list the files in home directory.
THe problem is when I use ftp client software like cuteftp the directory listing is not shown. WE have to manually put the directory names to move inside the restricted directory.
Is there any configuration required on server side or client cuteftp side to view the listing of directory.
Thanks and regards
Jawed AKhtar
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 09:21 PM
10-11-2004 09:21 PM
Re: ftpaccess and directory listing probelm in ftp client
Hello Jawed,
Then i Guess it should be the limitation of the ftp clien, Try with some othe client like reflexionftp/hummingbird's exceed.
Good luck
Asif
Then i Guess it should be the limitation of the ftp clien, Try with some othe client like reflexionftp/hummingbird's exceed.
Good luck
Asif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 07:48 AM
11-18-2004 07:48 AM
Re: ftpaccess and directory listing probelm in ftp client
You seem to have sorted the standard configuration.
What you've missed is the fact that some clients may want to list the files/directories. As the client is given a 'new' root directory when they connect; you have to put a copy of the 'ls' command in their tree. e.g
ON SERVER SIDE
cd to home_of_restricted_user
mkdir -p usr/bin
cp /usr/bin/ls usr/bin
chown root:grp_to_be_restricted usr
chown root:grp_to_be_restricted usr/bin
chown root:grp_to_be_restricted usr/bin/ls
chmod 510 usr
chmod 510 usr/bin
chmod 510 usr/bin/ls
Hope this helps
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