For this example we are using three systems one linux server one linux clients and one window clients. To complete these per quest of telnet server
- linux server with ip address 192.168.0.254 and hostname Server
- A linux client with ip address 192.168.0.1 and hostname Client1
- A windows xp system with ip address 192.168.0.2 and hostname Client2
- Updated /etc/hosts file on both linux system
- Running portmap and xinetd services
- Firewall should be off on server
Four rpm are required to configure telnet server. telnet, telnet-server, portmap, xinetd check them if not found then install
Now check telnet, portmap, xinetd service in system service it should be on
#setup
Select System service from list
[*]portmap
[*]xinetd
[*]telnet
#setup
Select System service from list
[*]portmap
[*]xinetd
[*]telnet
Now restart xinetd and portmap service
To keep on these services after reboot on then via chkconfig command

After reboot verify their status. It must be in running condition

Create a normal user named user1
On Linux client
ping from telnet server and run telnet command and give user name and password
On Window client
ping from telnet server and run telnet command

Give user name and password
Give user name and password
How to enable root login from telnet server
On linux server open file securetty

In the end of file add pts/0 to enable one telnet session for root. if you need to open more telnet session for root and add morepts/1 pts/2 and so on.

Now restart xinetd and portmap service

Verfiy from window by login from root

No comments:
Post a Comment