- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet access list
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
10-22-2008 03:22 PM
10-22-2008 03:22 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:37 PM
10-22-2008 05:37 PM
Re: Telnet access list
step 1:- enable telnet service in your server
inetd.conf --> Edit the file reomve # for telnet services
Example :-
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
>>I want to disable telnet for all user except two users>>
step2:- Edit /var/adm/inetd.sec --> security file
you can allow telnet specfic ip addres
step 3:-
inetd -c refresh your settings or to take effect
Example :-
telnet allow 10.99.2.* 10.99.12.* 10.99.11.* 10.99.0.* 10.99.50.* 10.98.5.44
for more info please man inetd.sec
Thanks,
Best Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 05:44 PM
10-22-2008 05:44 PM
Re: Telnet access list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 06:08 PM
10-22-2008 06:08 PM
Re: Telnet access list
Just an idea.
or
you CAN do this with tcp_wrappers.
First - set up the hosts.deny as follows
telnetd : ALL
Then - set up the hosts.allow as follows
telnetd : menu@ALL
Of course this does nothing about FTP, rlogin, finger, etc. But you can tailor the files to cover those as well or use inetd.sec to limit those in addition. And you could limit the user to a specific host or subnet
telnetd : user@host1
telnetd : user@128.1.1
Thanks
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 06:22 PM
10-22-2008 06:22 PM
SolutionWhat about rlogin and ssh? are they running as services?
> except two users
telnet is an IP based protocol which means it does not check the username when a connection is made. It relies on the login command to do the user authentication. So you have to do your restriction at the login level and not at telnet. You can put a test in /etc/profile (or /etc/login) and check the username and allow only those two users to continue login.
This will cover rlogin and remsh as well. SSH uses its own user authentication so you need to do something similar there.
Or delete all user accounts except those two users.