 |
 |
|
|
 |
 |
ۼ : 06-04-03 15:02
۾ :
ȸ : 12,465
|
⺻ ڳ root ֽϴ. root login ϱ ؼ /etc/securetty Ͽ root Ҽ ִ ؾ մϴ.
telnet Ȯ.
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = yes ------> no .
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
[root@test xinetd.d]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@test xinetd.d]#
23 port Ȯ.
[root@somang /]# netstat -an | grep 23
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 2 192.168.0.212:23 192.168.0.11:1574 ESTABLISHED
unix 2 [ ACC ] STREAM LISTENING 2343 /dev/gpmctl
unix 2 [ ] DGRAM 2346
[root@somang /]#
securetty pts/0 ~ pts/9 ߰.
- /etc/securetty ⺻ .
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
- root login /etc/securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
- xinetd .
[root@test xinetd.d]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@test xinetd.d]#
Ȯ
[root@test /]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686
login: root
Password:
Last login: Mon Apr 3 14:00:53 from 192.168.0.11
[root@test root]#
|
|
|
|
 |
|
|
|
|