-
Notifications
You must be signed in to change notification settings - Fork 0
/
CNExpt10.txt
63 lines (29 loc) · 856 Bytes
/
CNExpt10.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
step 1: Install
~$ sudo apt-get install xinetd telnetd
Step 2:
~$ sudo gedit /etc/inetd.conf
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
Step 3:
~$ sudo gedit /etc/xinetd.conf
# Simple configuration file for
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
# Please note that you need a log_type tine to be able to use log_on_success
# and log_on_failure. The default is the following :
# log_type SYSLOG daemon info
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps =25 30
}
Step 4:
~$ sudo /etc/init.d/xinetd restart
Step 5: ifconfig (on HOST)
Step 6: telnet 192.168.0.109 (on desti)
Step 7: sudo getid abc (on HOST)
Step 8: ls (on HOST)
Step 9: ls (on desti)
same file created