- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
07-06-2004 08:24 AM
07-06-2004 08:24 AM
telnet access
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 08:32 AM
07-06-2004 08:32 AM
Re: telnet access
You will need to use /var/adm/inetd.sec file. Examples are given in that file. If you want to allow access to only one server like 20.20.20.20 then add the following line
telnet allow 20.20.20.20
and if you want to allow all the servers in 20.20.10 subnet plus 20.20.20.20, modify it as
telnet allow 20.20.20.20 20.20.10
Refresh inetd after the changes.
inetd -c
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 08:51 AM
07-06-2004 08:51 AM
Re: telnet access
#telnet stream tcp nowait root /usr/lbin/telnetd telnetd
and then HUP the server inetd -c
I also like reassigning the telnet service to a different port in etc services.
Like 666
telnet 666/tcp
and "inetd -c"
to access "telnet servername 666"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 08:58 AM
07-06-2004 08:58 AM
Re: telnet access
vi /var/adm/inetd.sec
... edit line starting with telnet
... if you do not have such a line create one
... add allowed ip addresses to this line
... save & exit
/usr/sbin/inetd -k
/usr/sbin/inetd -l (if you don't want logging enabled, drop -l option)
I do not trust "inetd -c" to re-read the conf files. kill and restart is better in my opinion
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 09:49 AM
07-06-2004 09:49 AM
Re: telnet access
This is my recommendation. Do not allow telnet, unless you absolutely have to.
The next option is to Sri outlines, and restrict access via telnet from specific IP addresses or ranges. This is an ok solution, but is not as good as completely removing telnet.
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 10:20 AM
07-06-2004 10:20 AM
Re: telnet access
Here is a question which is not related to this post. But pls help, i need your advice.
In a server /etc/services,/etc/inetd.conf everything look good for in.telnetd.But in.telnetd is not running.Is there anyway to enable this or only reboot helps.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 10:32 AM
07-06-2004 10:32 AM
Re: telnet access
If the telnet entry is commented out in /etc/inetd.conf it can be reinstated by uncommenting the line and running 'inetd -c'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 04:00 PM
07-06-2004 04:00 PM
Re: telnet access
If you want to restrict the telnet access fully,then uncomment the service in inetd.conf or to give the specific access on telnet use tcpwrapper application.
If you are planning for secure telnetd with in.telnetd then, we have to configure the pam.conf to support that authentication.
Edit the pam.conf file for UNIX authentication, account management, session
management, and password management modules.
Check the unix in.telnetd+1M man page to more about the authentication with in.telnetd.
http://bama.ua.edu/cgi-bin/man-cgi?in.telnetd+1M
Regards,
Muthukumar.