Telnet 설치설치 유무 확인

CODEDRAGON Security/Linux

반응형

 

Telnet 설치설치 유무 확인

TODO:  rpm으로 Telnet이 설치가 되어 있는지 확인하기

rpm -ql telnet-server


기본적으로 설치가 되어 있지 않습니다.

 

Telnet 설치

TODO: telnet 설치하기

yum install telnet-server

 

root권한이 있어야만 설치가 가능합니다.


 

 

TODO: root권한으로 전환하기

su -

root권한의 계정으로전환되면 #으로 표시됩니다.


 

 

TODO: telnet 설치하기

root 사용자로 접속 후 설치하기

[root@localhost ~]# yum install telnet-server

Yum command has been deprecated, redirecting to '/usr/bin/dnf install telnet-server'.

See 'man dnf' and 'man yum2dnf' for more information.

To transfer transaction metadata from yum to DNF, run:

'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

 

Last metadata expiration check performed 0:50:19 ago on Thu May  5 21:36:17 2016.

Dependencies resolved.

==============================================================================================

 Package                  Arch              Version                   Repository         Size

==============================================================================================

Installing:

 telnet-server            x86_64            1:0.17-61.fc23            fedora             44 k

 

Transaction Summary

==============================================================================================

Install  1 Package

 

Total download size: 44 k

Installed size: 55 k

Is this ok [y/N]: y

Downloading Packages:

telnet-server-0.17-61.fc23.x86_64.rpm                         453 kB/s |  44 kB     00:00   

----------------------------------------------------------------------------------------------

Total                                                          31 kB/s |  44 kB     00:01    

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Installing  : telnet-server-1:0.17-61.fc23.x86_64                                       1/1

  Verifying   : telnet-server-1:0.17-61.fc23.x86_64                                       1/1

 

Installed:

  telnet-server.x86_64 1:0.17-61.fc23                                                        

 

Complete!

[root@localhost ~]#

 

 

TODO : telnet 설치 유무확인하기

[root@localhost ~]# rpm -ql telnet-server

/usr/lib/systemd/system/telnet.socket

/usr/lib/systemd/system/telnet@.service

/usr/sbin/in.telnetd

/usr/share/man/man5/issue.net.5.gz

/usr/share/man/man8/in.telnetd.8.gz

/usr/share/man/man8/telnetd.8.gz

[root@localhost ~]#