- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restricting telnet 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
01-05-2006 12:37 AM
01-05-2006 12:37 AM
I want to restrict telnet access for everyone except myself (root) and some other users.
Everyone else uses telnets (secure telnet) however they still have a telnet icon on their desktop which will take weeks to remove (so says the windows sys admin).
thanks,
ap.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 12:53 AM
01-05-2006 12:53 AM
Re: restricting telnet access
Download and install the TCP Wrapper depot from the HP website
The files are installed in two directories
/usr/lbin
/usr/newconfig/etc
Make the following directories
/usr/lbin/wrapper
/usr/local/sbin/messages
/usr/local/sbin/messages/reject
Move the original telnet daemon file
mv /usr/lbin/telnetd /usr/lbin/wrapper/telnetd
Copy the tcpd file
cp /usr/lbin/tcpd /usr/lbin/telnetd
Copy the configuration files
cp /usr/newconfig/etc/hosts.allow /etc/hosts.allow
cp /usr/newconfig/etc/hosts.deny /etc/hosts.deny
cp /usr/newconfig/etc/tcpd.conf /etc/tcpd.conf
Customize the /etc/hosts.allow file
Add the following line to the end of the file:
telnetd : hostnames
Customize the /etc/hosts.deny file
Add the following line to the end of the file
Telnetd : ALL : BANNERS /usr/local/sbin/messages/reject
Customize the /etc/tcpd.conf file
Remove the remark from the rfc931_timeout line
Create the BANNER file
The file name must be the same as the daemon being manipulated â in the case telnetd
Change to /usr/local/sbin/messages/reject
Create a file called telnetd with the following entry:
WARNING!!
The system you are attempting to connect to does not allow telnet sessions
Force the inet daemon to re-read the configuration file
inetd â c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 12:57 AM
01-05-2006 12:57 AM
Re: restricting telnet access
Man inetd.sec , you can allow telnet ,
from particular host and disable from all other hosts on the network .
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 07:47 AM
01-05-2006 07:47 AM