- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp outbound only
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
02-26-2003 02:27 PM
02-26-2003 02:27 PM
ftp outbound only
utilizing this file and only from a specific
filesystem? I do not want to setup restricted users accounts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 04:02 PM
02-26-2003 04:02 PM
Re: ftp outbound only
I can think of two things for you though.
1) If you only want outbound FTP, disable FTP (ie. comment out the lines) in /etc/services and /etc/inetd.conf. That way incoming connections can't be established.
2) For only allowing outbound from a specific filesystem, you could write a wrapper for ftp. In it you'd check the current directory and if it isn't the correct one, print a message and exit out abnormally (exit 1, exit 2, whatever).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 10:12 PM
02-26-2003 10:12 PM
Re: ftp outbound only
edit /etc/inetd.conf
comment out the line that says ftpd
save file
inetd -c
No more inbound ftp from anywhere to that HP-UX box.
To restrict individual users see /etc/ftpusers file add users that you don't want to have ftp access. Make sure root can't root inbound ftp is a security hazard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 10:29 AM
02-27-2003 10:29 AM
Re: ftp outbound only
inbound ftp to getting files only. All ftp activity would be users that have telnet access so I can't really set everyone up with
two accounts, one for telnet and one for restricted ftp access. Ideally I need users to have the ability to only retrieve files from a specific filesystem. I have been told that ftpaccess can handle this but I'am not sure how to go about it. All of these users are connecting through a PC (telnet) and the GUI Database interface needs to update PC application scripts periodically via ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 10:38 AM
02-27-2003 10:38 AM
Re: ftp outbound only
If you want to restrict to retrieve only, then make use of the "upload" variable with "no" option (this example is based upon a chrooted env.):
upload /path/to/actual/dir / no
upload /path/to/actual/dir /subdir no
upload /path/to/actual/dir /othersubdir no
and so on for every directory they have access to.
Hope this helps
Chris