- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling ftp and tftp access to a HP9000 Unix ser...
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
08-22-2005 04:07 AM
08-22-2005 04:07 AM
Disabling ftp and tftp access to a HP9000 Unix server
We use ftp minimally so would rather keep ftp disabled and only enable when required, (rather than disabling it permanently and using SFTP).
Could someone please tell me how I can go about stopping FTPing into the Unix boxes?
Thanks
Khalil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 04:10 AM
08-22-2005 04:10 AM
Re: Disabling ftp and tftp access to a HP9000 Unix server
need to modify /etc/inetd.conf ( then tell inetd to re-read config with inetd -c )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 04:10 AM
08-22-2005 04:10 AM
Re: Disabling ftp and tftp access to a HP9000 Unix server
To reenable the service(s), again edit the inetd.conf file and execute inetd -c.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 04:11 AM
08-22-2005 04:11 AM
Re: Disabling ftp and tftp access to a HP9000 Unix server
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 04:11 AM
08-22-2005 04:11 AM
Re: Disabling ftp and tftp access to a HP9000 Unix server
You must also disable on /etc/inetd.conf
Then restart inetd daemon, by sending:
#kill -HUP
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:21 AM
08-22-2005 05:21 AM
Re: Disabling ftp and tftp access to a HP9000 Unix server
You can do the following:
1. # vi /etc/inetd.conf
2. put a # in the begining of the entry
"ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -u000"
3. # /usr/sbin/inetd -c [ to re-read the entry in /etc/inetd.conf ]
This will disable ftp access , when required.
Cheers,
RajD.
----
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 03:34 PM
08-22-2005 03:34 PM
Re: Disabling ftp and tftp access to a HP9000 Unix server
/etc/services file, as some else already
suggested, is only a name to port lookup
service. A service is NOT disabled if you
comment out a line in /etc/services.
While you could block ftp and tftp by modifying
inetd.conf file, as others have suggested, you
should consider using a desktop firewall (like
IPFilter), or better still, bastille (which,
among other things, also configures a desktop
firewall).
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 12:14 PM
08-23-2005 12:14 PM
Re: Disabling ftp and tftp access to a HP9000 Unix server
/etc/inetd.conf. Check it out ok?
Peace on earth,
John E. Ophious
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 09:24 PM
08-23-2005 09:24 PM
Re: Disabling ftp and tftp access to a HP9000 Unix server
Just one more thing... what's tftp used for?
I thought it was required for ignite?... however when I hashed out the line below from the inetd.conf file and ran "inetd -c" I found I could still do an ignite backup directly on the machine???
#tftp dgram udp wait root /usr/lbin/tftpd\
# tftpd /opt/ignite /var/opt/ignite
Regards
Khalil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 09:30 PM
08-23-2005 09:30 PM
Re: Disabling ftp and tftp access to a HP9000 Unix server
when You issue
boot lan
or anything like that, the installation kernel will be fetched via tftp from /opt/ignite/bin.
it means trivial file transfer protocol, and that's about it.
It's definitely not a very safe means of transfering data, but at least all it's weaknesses are known after many years of using it, and also it's small enough to fit in the system firmware.
you can disable it if You don't have to netinstall Your ignite clients (i.e. when using an ignite boot tape create by make_boot_tape) or if You have good documentation for recovery containing a 'reenable and testing of tftpd line'
:)