- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP Access
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-11-2001 08:13 PM
05-11-2001 08:13 PM
FTP Access
I have configured /etc/inetd.conf according to the manual given in docs.hp.com which asks for the -a option to be added to the ftp entry in order for ftpaccess to work.
However, this still does not restrict the user to move up the directory.
Do you need to have wu-ftpd setup for ftpaccess to work or is there some other setup I have miss out?
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2001 09:07 PM
05-11-2001 09:07 PM
Re: FTP Access
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2001 11:14 PM
05-13-2001 11:14 PM
Re: FTP Access
If you're using HP-UX 11, setting up /etc/ftpaccess is enough. However, if you're using HP-UX 10.20, you will have to install wu-ftpd to get the chroot'ed functionality.
I think the following will solve your problem:
1. create a special group for users who should have chroot'ed ftp access, e.g. ftpusers:
groupadd ftpusers
2. Assign the users to this group, using "vi /etc/group" or "usermod -G".
3. Make this group an ftp guestgroup by adding the following to your ftpaccess:
guestgroup ftpusers
4. inetd -c doesn't always do the job, so you might as well kill -HUP the inetd PID.
Hope this helps.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 03:42 AM
05-14-2001 03:42 AM
Re: FTP Access
I think I do a pretty good job of detailing all of the control files, and their mechanisms.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 04:05 AM
05-14-2001 04:05 AM
Re: FTP Access
Denver: Actually, I try inetd -c after changing /etc/inetd.conf. FTP connection was refused after configuration to the manual actually says.
Vincenzo: The manual I was referring to is what you have given me through your link.
Vincent: I am running HP-UX 11, however, /etc/ftpaccess does not seem to be there.
Shannon: While combing through the search,
I saw your site but was not able to get connected on Saturday. Thanks for providing me with the site again, will read it and test it out.
So my question is how do you setup /etc/ftpaccess?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 04:20 AM
05-14-2001 04:20 AM
Re: FTP Access
Oops, I meant /etc/ftpd/ftpaccess...
I'm not sure if this file should already exist or that you have to create one yourself. If you do not have an /etc/ftpd/ftpaccess, there should be an example file in /usr/newconfig/etc/ftpd/.
Here's a simple example of what your ftpaccess file should look like:
#######################
class ftp real,anonymous,guest *
guestgroup ftpusers
#######################
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 03:06 AM
05-17-2001 03:06 AM
Re: FTP Access
I have now restricted the user to the parent directory assigned and able to see the content of that directory by accessing from DOS. However, I am not able to see any content if I am using a third party software like Cute FTP. By the way, I have added ~/bin directory at the chroot path.
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 04:50 PM
05-17-2001 04:50 PM
Re: FTP Access
Regards,
Shannon