- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disabling telnetd and ftp
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-13-2003 03:57 AM
02-13-2003 03:57 AM
I'd like to disable the telnet and ftp services running on my HP11.0 machine. I tried commenting following lines in the /etc/inetd.conf file:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
However, commenting both lines in the /etc/inetd.conf file did not work. I also tried killing their daemon processes but to no avail. Hence, I'm still able to do a telnet or ftp from the particular machine which I tried killing those process.
Is there a way which I can disable the telnet and ftp services on my HP11.0 machine?
Could someone help me out and show me the correct method?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 03:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:04 AM
02-13-2003 04:04 AM
Re: Disabling telnetd and ftp
/usr/sbin/inetd -c
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:12 AM
02-13-2003 04:12 AM
Re: Disabling telnetd and ftp
Other possible way is via /var/adm/inetd.sec file:
telnet deny *
ftp deny *
Also to avoid remote shell (remsh) and remote copies (rcp) set this:
shell deny *
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:17 AM
02-13-2003 04:17 AM
Re: Disabling telnetd and ftp
I tried doing /usr/sbin/inetd -c, and other machines now COULD NOT telnet or ftp into that particular machine i.e machA:
machB% telnet machA
trying 10.1.20.200 ...
telnet:connect to address 10.1.20.200: Connection refused
machB% ftp machA
ftp: connect: Connection refused
However, the telnet daemon is still alive. Does it matter? Will there be any other issues if the daemon is alive but the service is already commented from the /etc/inetd.conf file?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:18 AM
02-13-2003 04:18 AM
Re: Disabling telnetd and ftp
Ussing /var/adm/inetd.sec you have serveral useful combinations to allow|deny totally or partially services, pls read about:
#man inetd.sec
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:24 AM
02-13-2003 04:24 AM
Re: Disabling telnetd and ftp
Each telnetd process starts when there is a request from the client.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:32 AM
02-13-2003 04:32 AM
Re: Disabling telnetd and ftp
just kill away the telnetd.
inetd will not restart a new one
Regards
Rainer