[root@localhost ~]# service xinetd restart
xinetd: unrecognized service
[root@localhost ~]# yum -y install telnet-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 2.0 MB 00:10
extras : ################################################## 6504/6504
Added 99 new packages, deleted 0 old in 15.19 seconds
primary.xml.gz 100% |=========================| 401 kB 00:05
updates : ################################################## 1132/1132
Added 176 new packages, deleted 140 old in 6.43 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for telnet-server to pack into transaction set.
telnet-server-0.17-35.2.1 100% |=========================| 8.1 kB 00:00
---> Package telnet-server.i386 1:0.17-35.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: xinetd for package: telnet-server
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xinetd to pack into transaction set.
xinetd-2.3.13-6.2.1.i386. 100% |=========================| 19 kB 00:04
---> Package xinetd.i386 2:2.3.13-6.2.1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
telnet-server i386 1:0.17-35.2.1 core 34 k
Installing for dependencies:
xinetd i386 2:2.3.13-6.2.1 core 133 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 168 k
Downloading Packages:
(1/2): xinetd-2.3.13-6.2. 100% |=========================| 133 kB 00:27
(2/2): telnet-server-0.17 100% |=========================| 34 kB 00:05
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xinetd ######################### [1/2]
Installing: telnet-server ######################### [2/2]
Installed: telnet-server.i386 1:0.17-35.2.1
Dependency Installed: xinetd.i386 2:2.3.13-6.2.1
Complete!
[root@localhost ~]# system-config-securitylevel
[root@localhost ~]# cat /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
[root@localhost ~]# service xinetd restart
xinetd 를 정지함: [ OK ]
xinetd (을)를 시작합니다: [ OK ]
[root@localhost ~]# telnet 아이피
Trying 아이피...
Connected to 아이피 (아이피).
Escape character is '^]'.
Fedora Core release ?
Kernel 2.6xxxxxxxxxxxxxxxxxxx
login: odayas
Password:
Last login: Wed Mar 7 10:49:01 on :0
[odayas@localhost ~]$ whoami
odayas
[odayas@localhost ~]$ exit
logout
xinetd: unrecognized service
[root@localhost ~]# yum -y install telnet-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 2.0 MB 00:10
extras : ################################################## 6504/6504
Added 99 new packages, deleted 0 old in 15.19 seconds
primary.xml.gz 100% |=========================| 401 kB 00:05
updates : ################################################## 1132/1132
Added 176 new packages, deleted 140 old in 6.43 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for telnet-server to pack into transaction set.
telnet-server-0.17-35.2.1 100% |=========================| 8.1 kB 00:00
---> Package telnet-server.i386 1:0.17-35.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: xinetd for package: telnet-server
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xinetd to pack into transaction set.
xinetd-2.3.13-6.2.1.i386. 100% |=========================| 19 kB 00:04
---> Package xinetd.i386 2:2.3.13-6.2.1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
telnet-server i386 1:0.17-35.2.1 core 34 k
Installing for dependencies:
xinetd i386 2:2.3.13-6.2.1 core 133 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 168 k
Downloading Packages:
(1/2): xinetd-2.3.13-6.2. 100% |=========================| 133 kB 00:27
(2/2): telnet-server-0.17 100% |=========================| 34 kB 00:05
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xinetd ######################### [1/2]
Installing: telnet-server ######################### [2/2]
Installed: telnet-server.i386 1:0.17-35.2.1
Dependency Installed: xinetd.i386 2:2.3.13-6.2.1
Complete!
[root@localhost ~]# system-config-securitylevel
[root@localhost ~]# cat /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
[root@localhost ~]# service xinetd restart
xinetd 를 정지함: [ OK ]
xinetd (을)를 시작합니다: [ OK ]
[root@localhost ~]# telnet 아이피
Trying 아이피...
Connected to 아이피 (아이피).
Escape character is '^]'.
Fedora Core release ?
Kernel 2.6xxxxxxxxxxxxxxxxxxx
login: odayas
Password:
Last login: Wed Mar 7 10:49:01 on :0
[odayas@localhost ~]$ whoami
odayas
[odayas@localhost ~]$ exit
logout