/l3/users/eb/2009/linux12/root :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 |
|
#d
Display all 121 possibilities? (y or n) date defoma-subst dig dpkg-deb dbmmanage defoma-user dijkstra dpkg-distaddfile dbus-cleanup-sockets delgroup dir dpkg-divert dbus-daemon dellBiosUpdate dircolors dpkg-genchanges dbus-launch dellLcdBrightness dirname dpkg-gencontrol dbus-monitor dellLEDCtl dirs dpkg-gensymbols dbus-send dellMediaDirectCtl disable_console_redir dpkg-name dbus-uuidgen dellWirelessCtl disown dpkg-parsechangelog dd delpart displayfont dpkg-preconfigure ... debsums_init dh_installxmlcatalogs done dumpCmos debugfs dh_pycentral dot dumpe2fs declare dh_pysupport dot2gxl dumphint defoma diagperm dotlockfile dumpkeys defoma-app dialog dotty dumppsf defoma-font diff dpipe dumpSmbios defoma-hints diff3 dpkg dvipdf defoma-id diffimg dpkg-architecture defoma-psfont-installer diffindex-download dpkg-buildpackage defoma-reconfigure diffindex-rred dpkg-checkbuilddeps |
#d
bash: d: command not found |
#do
do done dot dot2gxl dotlockfile dotty |
#name
named named-checkconf named-checkzone named-compilezone namei nameif |
#hostname
linux12 |
#domainame
bash: domainame: command not found |
#Ñгmutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ?:ÐÑдказка ºÐ°Ð·ÐºÐ° From: konstantin <root@class12.unix.nt> 1 Jun 04 root ( 1) To: root@linux11.class11.unix.nt 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details Subj Reply - I 1 /tmp/mutt-linux12-0-18274-7 [text/plain, 7bit, us-ascii, 0,1K] Mix: <no chain defined> Security: Ðе заÑÑоÑовÑваÑи -- Mutt: Compose [Approx. msg size: 0,1K Atts: 1]---------------------------------------------------------------- поÑлано. |
#qq
bash: qq: command not found |
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ?:ÐÑдказка ÐÑдказка 1 Jun 04 root ( 1) 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 6 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details *-Mutt: /var/mail/root [Msgs:6 Old:1 10K]---(threads/date)-------------------------------------------------(all)--- 6 збеÑежено, 0 зниÑено. |
#vim ~/.muttrc
--- /tmp/l3-saved-10067.28464.655 2009-06-05 12:43:17.000000000 +0300 +++ /root/.muttrc 2009-06-05 12:43:43.000000000 +0300 @@ -1,2 +1,2 @@ -my_hdr From: konstantin <root@class12.unix.nt> +my_hdr From: root <root@class12.unix.nt> set realname = 'Kondrashov Konstantin' |
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ?:ÐÑдказка ÐÑдказка From root@linux11.unix.nt Fri Jun 5 12:44:40 2009 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 6 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 7 Jun 05 root ( 1) dede *-Mutt: /var/mail/root [Msgs:7 Old:1 11K]---(threads/date)-------------------------------------------------(all)--- 7 збеÑежено, 0 зниÑено. You have mail in /var/mail/root |
#vim /etc/mail/sendmail.mc
--- /tmp/l3-saved-10067.1403.16589 2009-06-05 12:47:11.000000000 +0300 +++ /etc/mail/sendmail.mc 2009-06-05 12:47:41.000000000 +0300 @@ -101,7 +101,7 @@ dnl # Masquerading options FEATURE(`always_add_domain')dnl -MASQUERADE_AS(`linux11.unix.nt')dnl +MASQUERADE_AS(`linux12.unix.nt')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl MAILER_DEFINITIONS |
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ?:ÐÑдказка ÐÑдказка From: root <root@class12.unix.nt> 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 6 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 7 Jun 05 root ( 1) dede 8 N Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 9 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details Mix: <no chain defined> 1 16K]---(threads/date)-------------------------------------------(all)--- 9 збеÑежено, 0 зниÑено. Ð*-Mutt: /var/mail/root [Msgs:9 New:1 Old:1 16K]---(threads/date)-------------------------------------------(all)--- You have mail in /var/mail/root |
#dig class12.unix.nt
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61350 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN A ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 12:50:20 2009 ;; MSG SIZE rcvd: 95 |
#dig class12.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56680 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 12:50:32 2009 ;; MSG SIZE rcvd: 95 |
#~
i:ÐÐ¸Ñ Ñд -:ÐÐ¾Ð¿Ð¡Ñ <Space>:ÐаÑÑÐ¡Ñ v:ÐодаÑки d:Ðид. r:ÐÑдп. j:ÐаÑÑ ?:ÐÑдказка From: root <root@class12.unix.nt> From: Mail Delivery Subsystem <MAILER-DAEMON@linux11.unix.nt> To: root@linux11.unix.nt Subject: Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 [-- Тип: text/plain, кодÑваннÑ: 7bit, ÑозмÑÑ: 0,3K --] 8 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details The original message was received at Fri, 5 Jun 2009 12:55:45 +0300 11 N Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details from localhost [127.0.0.1] (may be forged) 10 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 7 Jun 05 root Mix: <no chain defined> Security: Ðе заÑÑоÑовÑваÑи -*-Mutt: /var/mail/root [Msgs:11 New:1 Old:2 21K]---(threads/date)------------------------------------------(all)--- ÑовÑй ÑкÑинÑÑÑ. |
#dig class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4419 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 12:56:13 2009 ;; MSG SIZE rcvd: 95 |
#dig class3.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> class3.unix.nt MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15766 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2 ;; QUESTION SECTION: ;class3.unix.nt. IN MX ;; ANSWER SECTION: class3.unix.nt. 10796 IN MX 10 linux3.class3.unix.nt. ;; AUTHORITY SECTION: class3.unix.nt. 10796 IN NS linux3.class3.unix.nt. ;; ADDITIONAL SECTION: linux3.class3.unix.nt. 10796 IN A 192.168.15.3 linux3.class3.unix.nt. 10796 IN A 192.168.202.2 ;; Query time: 1 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 12:58:18 2009 ;; MSG SIZE rcvd: 101 |
#cd /etc/bind/
|
#ls
db.0 db.255 db.empty db.root named.conf.local rndc.key db.127 db.class12.unix.nt db.local named.conf named.conf.options zones.rfc1918 |
#vim db.class12.unix.nt
--- /tmp/l3-saved-10067.18611.18811 2009-06-05 12:58:46.000000000 +0300 +++ db.class12.unix.nt 2009-06-05 12:59:48.000000000 +0300 @@ -4,5 +4,5 @@ linux11 A 192.168.15.11 linux1 A 192.168.15.1 mega A 10.0.35.100 - MX 10 linux12 + MX 10 linux12 |
#/etc/init.d/sendmail restart
Restarting Mail Transport Agent (MTA): sendmail. |
#rndc flush
|
#dig class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19578 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 13:03:51 2009 ;; MSG SIZE rcvd: 95 |
#vim db.class12.unix.nt
|
#/etc/init.d/sendmail restart
Restarting Mail Transport Agent (MTA): sendmail. |
#vim /etc/hosts
--- /tmp/l3-saved-23755.8507.16526 2009-06-05 14:05:08.000000000 +0300 +++ /etc/hosts 2009-06-05 14:05:16.000000000 +0300 @@ -1 +1 @@ -# 192.168.15.12 linux12 +192.168.15.12 linux12 |
#vim /etc/hosts
--- /tmp/l3-saved-23755.15338.16379 2009-06-05 14:06:44.000000000 +0300 +++ /etc/hosts 2009-06-05 14:07:15.000000000 +0300 @@ -1 +1,4 @@ 192.168.15.12 linux12 +192.168.106.1 linux12 +192.168.206.2 linux12 + |
#cat named.conf.local
// // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; zone "class12.unix.nt" { type master; file "/etc/bind/db.class12.unix.nt"; }; |
#ls
db.0 db.255 db.empty db.root named.conf.local rndc.key db.127 db.class12.unix.nt db.local named.conf named.conf.options zones.rfc1918 |
#cat db.1
cat: db.1: No such file or directory |
#cat db.127
; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. 1.0.0 IN PTR localhost. |
#cat db.255
; ; BIND reverse data file for broadcast zone ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. |
#nmap 25
bash: nmap: command not found |
#nmap
bash: nmap: command not found |
#apt-get install nmap
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. НОВІ пакунки, які будуть встановлені: nmap оновлено 0, встановлено 1 нових пакунків, для видалення відмічено 0 пакунків, і 56 пакунків не оновлено. Необхідно завантажити 1072kB архівів. After this operation, 3801kB of additional disk space will be used. Отр:1 http://10.0.35.1 sid/main nmap 4.68-1 [1072kB] Отримано 1072kB за 0sB (8160kB/s) Selecting previously deselected package nmap. (Reading database ... 69832 files and directories currently installed.) Unpacking nmap (from .../archives/nmap_4.68-1_i386.deb) ... Processing triggers for man-db ... Setting up nmap (4.68-1) ... |
#nmap 127.0.0.1
Starting Nmap 4.68 ( http://nmap.org ) at 2009-06-05 14:09 EEST Interesting ports on localhost (127.0.0.1): Not shown: 1706 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 110/tcp open pop3 111/tcp open rpcbind 587/tcp open submission 953/tcp open rndc 9999/tcp open abyss Nmap done: 1 IP address (1 host up) scanned in 0.114 seconds |
#rhdc flush
bash: rhdc: command not found |
#rndc flush
|
#dig @127.0.0.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44003 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 5 14:10:24 2009 ;; MSG SIZE rcvd: 95 |
#vim named.conf.local
|
#dig @127.0.0.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49037 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; ANSWER SECTION: class12.unix.nt. 3600 IN MX 10 linux12.class12.unix.nt. ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN NS linux12.class12.unix.nt. ;; ADDITIONAL SECTION: linux12.class12.unix.nt. 3600 IN A 192.168.15.12 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 5 14:13:41 2009 ;; MSG SIZE rcvd: 87 |
#dig @127.0.0.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35996 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; ANSWER SECTION: class12.unix.nt. 3600 IN MX 10 linux12.class12.unix.nt. ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN NS linux12.class12.unix.nt. ;; ADDITIONAL SECTION: linux12.class12.unix.nt. 3600 IN A 192.168.15.12 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 5 14:18:36 2009 ;; MSG SIZE rcvd: 87 |
#dig @192.168.15.12 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.12 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18466 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; ANSWER SECTION: class12.unix.nt. 3600 IN MX 10 linux12.class12.unix.nt. ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN NS linux12.class12.unix.nt. ;; ADDITIONAL SECTION: linux12.class12.unix.nt. 3600 IN A 192.168.15.12 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 14:18:44 2009 ;; MSG SIZE rcvd: 87 |
#dig @192.168.15.12 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.12 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54890 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; ANSWER SECTION: class12.unix.nt. 3600 IN MX 10 linux12.class12.unix.nt. ;; AUTHORITY SECTION: class12.unix.nt. 3600 IN NS linux12.class12.unix.nt. ;; ADDITIONAL SECTION: linux12.class12.unix.nt. 3600 IN A 192.168.15.12 ;; Query time: 0 msec ;; SERVER: 192.168.15.12#53(192.168.15.12) ;; WHEN: Fri Jun 5 14:20:39 2009 ;; MSG SIZE rcvd: 87 |
#dig @192.168.15.11 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.11 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6575 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3103 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 4 msec ;; SERVER: 192.168.15.11#53(192.168.15.11) ;; WHEN: Fri Jun 5 14:20:45 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.11 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.11 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65398 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3102 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.11#53(192.168.15.11) ;; WHEN: Fri Jun 5 14:20:46 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.11 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.11 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4904 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3101 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.11#53(192.168.15.11) ;; WHEN: Fri Jun 5 14:20:47 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32641 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3098 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 5 msec ;; SERVER: 192.168.15.1#53(192.168.15.1) ;; WHEN: Fri Jun 5 14:20:51 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3097 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.1#53(192.168.15.1) ;; WHEN: Fri Jun 5 14:20:52 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42350 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3096 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.1#53(192.168.15.1) ;; WHEN: Fri Jun 5 14:20:53 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15810 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3095 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.1#53(192.168.15.1) ;; WHEN: Fri Jun 5 14:20:54 2009 ;; MSG SIZE rcvd: 95 |
#dig @192.168.15.1 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @192.168.15.1 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42050 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; AUTHORITY SECTION: class12.unix.nt. 3094 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 192.168.15.1#53(192.168.15.1) ;; WHEN: Fri Jun 5 14:20:55 2009 ;; MSG SIZE rcvd: 95 |
#dig @10.0.35.100 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @10.0.35.100 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 34528 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; Query time: 0 msec ;; SERVER: 10.0.35.100#53(10.0.35.100) ;; WHEN: Fri Jun 5 14:21:10 2009 ;; MSG SIZE rcvd: 33 |
#dig @10.0.35.100 class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> @10.0.35.100 class12.unix.nt MX ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 42129 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; Query time: 0 msec ;; SERVER: 10.0.35.100#53(10.0.35.100) ;; WHEN: Fri Jun 5 14:21:21 2009 ;; MSG SIZE rcvd: 33 |
#rndc flush
|
#ls
access aliases.db m4 sendmail.cf service.switch-nodns tls access.db databases Makefile sendmail.conf smrsh trusted-users address.resolve helpfile peers sendmail.mc submit.cf aliases local-host-names sasl service.switch submit.mc |
#cat access
# /etc/mail/access # Copyright (c) 1998,2004 Richard Nelson <cowboy@debian.org>. # Time-stamp: <1998/10/27 10:00:00 cowboy> # GPL'd config file, please feed any gripes, suggestions, etc. to me # # Function: # Access Control for this smtp server - determines: # * Who we accept mail from # * Who we accept relaying from # * Who we will not send to ... #cyberpromo.com REJECT #From:MAILER-DAEMON@store2.netvisao.pt REJECT # # Block invalid IPs # #Connect:0 REJECT whilst invalid, this also blocks sendmail -bs -Am Connect:169.254 REJECT Connect:192.0.2 REJECT Connect:224 REJECT Connect:255 REJECT |
#cat access.db
|
#ñïÛÙÍÊ»¹¥£}keVT@>2-%Dspam:spam@0greetpause:localhostRELAYconnect:ipv6:::1REJECTconnect:255REJECTconnect:224REJECTconnect:192.0.2RELAYconnect:1270clientrate:localhost0clientconn:localhostó
|
#ls
access aliases.db m4 sendmail.cf service.switch-nodns tls access.db databases Makefile sendmail.conf smrsh trusted-users address.resolve helpfile peers sendmail.mc submit.cf aliases local-host-names sasl service.switch submit.mc |
#cat access
# /etc/mail/access # Copyright (c) 1998,2004 Richard Nelson <cowboy@debian.org>. # Time-stamp: <1998/10/27 10:00:00 cowboy> # GPL'd config file, please feed any gripes, suggestions, etc. to me # # Function: # Access Control for this smtp server - determines: # * Who we accept mail from # * Who we accept relaying from # * Who we will not send to ... #cyberpromo.com REJECT #From:MAILER-DAEMON@store2.netvisao.pt REJECT # # Block invalid IPs # #Connect:0 REJECT whilst invalid, this also blocks sendmail -bs -Am Connect:169.254 REJECT Connect:192.0.2 REJECT Connect:224 REJECT Connect:255 REJECT |
#vim access
|
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ´Ð¿. j:ÐаÑÑ ?:ÐÑдказка 1 Jun 04 root ( 1) 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 ( 1) dede 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 9 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 11 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 6 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 12 N T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 7 Jun 05 root ( 1) dede 12 N T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 8 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 9 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 10 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 11 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 12 T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 12 збеÑежено, 0 зниÑено. You have mail in /var/mail/root |
#dig class12.unix.nt
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60083 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class12.unix.nt. IN A ;; AUTHORITY SECTION: class12.unix.nt. 3553 IN SOA linux12.class12.uxix.nt. root.class12.unix.nt. 2009060402 10800 43200 259200 3600 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 5 14:38:17 2009 ;; MSG SIZE rcvd: 95 |
#dig class12.unix.nt MX
; <<>> DiG 9.6.0-P1 <<>> class12.unix.nt MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58600 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class12.unix.nt. IN MX ;; ANSWER SECTION: class12.unix.nt. 3459 IN MX 10 linux12.class12.unix.nt. ;; AUTHORITY SECTION: class12.unix.nt. 3459 IN NS linux12.class12.unix.nt. ;; ADDITIONAL SECTION: linux12.class12.unix.nt. 3459 IN A 192.168.15.12 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 5 14:38:25 2009 ;; MSG SIZE rcvd: 87 |
#ls
agent all +%I:%M LANG=uk_UA.UTF-8 Mail sent |
#cd Mail/
|
#ls
|
#ls -ls
загалом 0 |
#cd ..
|
#ls -la
загалом 188 drwxr-xr-x 10 root root 4096 чер 5 14:37 . drwxr-xr-x 20 root root 4096 чер 1 11:31 .. -rwxr-xr-x 1 root root 253 чер 3 12:14 agent -rwxr-xr-x 1 root root 83 чер 3 11:16 all -rw------- 1 root root 10459 чер 5 14:28 .bash_history -rw-r--r-- 1 root root 27 чер 3 12:09 .bash_profile -rw-r--r-- 1 root root 450 тра 25 09:34 .bashrc drwx------ 3 root root 4096 тра 29 17:49 .config drwx------ 2 root root 4096 тра 29 11:25 .gnupg ... -rw------- 1 root root 1024 чер 4 18:15 .rnd -rw-r--r-- 1 root root 3984 тра 25 17:25 .screenrc -rw------- 1 root root 33 тра 27 10:40 .sendxmpprc -rw------- 1 root root 4003 чер 5 14:37 sent drwxr-xr-x 2 root root 4096 чер 3 11:52 .ssh -rw-r--r-- 1 root root 134 чер 3 12:14 .ssh-agent drwxr-xr-x 2 root root 4096 чер 2 13:38 .vim -rw------- 1 root root 11775 чер 5 14:27 .viminfo -rw-r--r-- 1 root root 36 чер 4 14:52 .vimrc -rw------- 1 root root 106 чер 4 10:00 .Xauthority |
#cd /etc/mail/
|
#ls
access aliases helpfile Makefile sendmail.cf service.switch submit.cf trusted-users access.db aliases.db local-host-names peers sendmail.conf service.switch-nodns submit.mc address.resolve databases m4 sasl sendmail.mc smrsh tls |
#vim sendmail.mc
--- /tmp/l3-saved-10588.17108.1723 2009-06-05 14:41:42.000000000 +0300 +++ sendmail.mc 2009-06-05 14:42:02.000000000 +0300 @@ -101,7 +101,7 @@ dnl # Masquerading options FEATURE(`always_add_domain')dnl -MASQUERADE_AS(`linux12.unix.nt')dnl +MASQUERADE_AS(`class12.unix.nt')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl MAILER_DEFINITIONS |
#/etc/init.d/sendmail restart
Restarting Mail Transport Agent (MTA): sendmail. |
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ´Ð¿. j:ÐаÑÑ ?:ÐÑдказка 1 Jun 04 root ( 1) 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 ( 1) dede 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 8 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 11 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 12 T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details ... 13 Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 12 T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 9 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 10 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 11 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details 12 T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 13 Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 4 New:1 Old:2 28K]---(threads/date) 14 збеÑежено, 0 зниÑено. You have mail in /var/mail/root |
#mutt
q:ÐийÑи d:Ðид. u:ÐÑдн. s:ÐбеÑ. m:Ð:ÐÑдп. g:ÐÑÑм ´Ð¿. j:ÐаÑÑ ?:ÐÑдказка 1 Jun 04 root ( 1) 2 Jun 04 Mail Delivery S ( 38) Returned mail: see transcript for details 3 Jun 05 mdadm monitorin ( 17) DegradedArray event on /dev/md0:linux12 4 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 5 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 6 Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details 7 Jun 05 root ( 1) dede 8 O Jun 05 Mail Delivery S ( 49) Returned mail: see transcript for details end ... 10 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details MIME-Version: 1.0ail Delivery S ( 48) Returned mail: see transcript for details 11 Jun 05 Mail Delivery S ( 47) Returned mail: see transcript for details Content-Type: text/plain; charset=us-ascii 12 T Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details Content-Disposition: inline 13 Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details User-Agent: Mutt/1.5.19 (2009-01-05) 14 Jun 05 Mail Delivery S ( 48) Returned mail: see transcript for details 14 збеÑежено, 0 зниÑено. |
#/etc/init.d/sendmail restart
Restarting Mail Transport Agent (MTA): sendmail. |
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9. Starting domain name service...: bind9. |
#~
2 linux12.class12.unix.nt 4 ~ ~ ~ ~ ~ ~ ~ ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "local-host-names" 4L, 51C записаний |
#tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help } tc [-force] -batch file where OBJECT := { qdisc | class | filter | action | monitor } OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [file] } You have new mail in /var/mail/root |
#ssh root@10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Fri Jun 5 14:45:12 2009 from linux12.class12.unix.nt l3-agent is already running: pid=1896; pidfile=/root/.lilalo/l3-agent.pid |
#screen -x
|
#cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1866.238 cache size : 4096 KB physical id : 0 siblings : 2 ... f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority bogomips : 5626.33 clflush size : 64 power management: |
#ssh root@10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Fri Jun 5 15:42:56 2009 from linux13.class13.unix.nt l3-agent is already running: pid=1896; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Fri Jun 5 15:42:56 2009 from linux13.class13.unix.nt l3-agent is already running: pid=1896; pidfile=/root/.lilalo/l3-agent.pid |
#cat /proc/cpuinfo | grep fle
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority |
#cat /proc/cpuinfo | grep vmx
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority |
#apt-get install xe
xearth xemacs-widget xenomai xeji xen xenomai-doc xem xen-docs-3.2 xenomai-docs xemacs xen-docs-unstable xenomai-runtime xemacs21 xengine xen-shell xemacs21-basesupport xen-hypervisor xenstore-utils xemacs21-basesupport-el xen-hypervisor-3 xen-tools xemacs21-bin xen-hypervisor-3.2-1 xen-utils xemacs21-gnome-mule xen-hypervisor-3.2-1-i386 xen-utils-3.0 xemacs21-gnome-mule-canna-wnn xen-hypervisor-3.2-1-i386-nonpae xen-utils-3.2-1 xemacs21-gnome-nomule xen-hypervisor-amd64 xen-utils-common xemacs21-mule xen-hypervisor-i386 xen-utils-unstable xemacs21-mule-canna-wnn xen-hypervisor-i386-nonpae xenwatch xemacs21-mulesupport xen-hypervisor-i386-pae xephem xemacs21-mulesupport-el xen-hypervisor-unstable xeukleides xemacs21-nomule xen-hypervisor-unstable-i386 xeuklides xemacs21-support xen-ioemu-3.0 xev xemacs21-supportel xen-ioemu-3.0-unstable xevil xemacs22 xen-linux-system-2.6.26-1-xen-686 xext xemacs22-bin xen-linux-system-2.6.26-1-xen-amd64 xeyes xemacs-support xenman xezmlm |
#apt-get install xen
xen xen-hypervisor-i386-nonpae xenomai-docs xen-docs-3.2 xen-hypervisor-i386-pae xenomai-runtime xen-docs-unstable xen-hypervisor-unstable xen-shell xengine xen-hypervisor-unstable-i386 xenstore-utils xen-hypervisor xen-ioemu-3.0 xen-tools xen-hypervisor-3 xen-ioemu-3.0-unstable xen-utils xen-hypervisor-3.2-1 xen-linux-system-2.6.26-1-xen-686 xen-utils-3.0 xen-hypervisor-3.2-1-i386 xen-linux-system-2.6.26-1-xen-amd64 xen-utils-3.2-1 xen-hypervisor-3.2-1-i386-nonpae xenman xen-utils-common xen-hypervisor-amd64 xenomai xen-utils-unstable xen-hypervisor-i386 xenomai-doc xenwatch |
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1866.238 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority bogomips : 3732.47 clflush size : 64 power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1866.238 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority bogomips : 5626.33 clflush size : 64 power management:
# /etc/mail/access # Copyright (c) 1998,2004 Richard Nelson <cowboy@debian.org>. # Time-stamp: <1998/10/27 10:00:00 cowboy> # GPL'd config file, please feed any gripes, suggestions, etc. to me # # Function: # Access Control for this smtp server - determines: # * Who we accept mail from # * Who we accept relaying from # * Who we will not send to # # Usage: # FEATURE(access_db[, type [-o] /etc/mail/access])dnl # makemap hash access < access # # Format: # lhs: # email addr <user@[host.domain]> # domain name unless FEATURE(relay_hosts_only) is used, # then this is a fqdn - and relay-domains ($=R) # must also be fqdns. # network number must end on an octet boundary, or # you're stuck going the longwinded way ;-{ # rhs: # OK accept mail even if other rules in the # running ruleset would reject it. # RELAY Allow domain to relay through your SMTP # server. RELAY also serves an implicit # OK for the other checks. # REJECT reject the sender/recipient with a general # purpose message that can be customized. # confREJECT_MSG [550 Access denied] will be issued # DISCARD discard the message completely using # the $#discard mailer. # ### any text where ### is an RFC 821 compliant error code # and "any text" is a message to return for # the command # Examples: # spammer@aol.com REJECT # FREE.STEALTH.MAILER@ 550 Spam not accepted # # Notes: # With FEATURE(blacklist_recipients) this is also possible: # badlocaluser 550 Mailbox disabled for this username # host.mydomain.com 550 That host does not accept mail # user@otherhost.mydomain.com 550 Mailbox disabled for this recipient # # Related: # define(`confREJECT_MSG', `550 Access denied')dnl # define(`confCR_FILE', `-o /etc/mail/relay-domains')dnl <<- $=R # FEATURE(relay_hosts_only)dnl # FEATURE(relay_entire_domain)dnl <<- relays any host in the $=m class # FEATURE(relay_based_on_MX)dnl <<- relaying for boxes MX'd to you # FEATURE(blacklist_recipients)dnl # FEATURE(rbl[,alternate server])dnl # FEATURE(orbs[,alternate server])dnl <<- Debian addition # FEATURE(orca[,alternate server])dnl <<- Debian addition # FEATURE(accept_unqualified_senders)dnl # FEATURE(accept_unresolvable_domains)dnl # # Local addresses 10.x.x.x, 127.x.x.x, 172.16-31.x.x 192.168.x.x can relay # Note Well! You *must* make sure these address can't be spoofed externally # Note, outbound relaying is controlled by connection and/or auth # If you're not firewalled, and you don't have a lan, comment these out # If you're not firewalled, and you have a lan, get firewalled *NOW* # GreetPause - delay to check for spammers # Client Connection rate (and #) control Connect:localhost RELAY GreetPause:localhost 0 ClientRate:localhost 0 ClientConn:localhost 0 #Connect:10 RELAY #GreetPause:10 0 #ClientRate:10 0 #ClientConn:10 0 Connect:127 RELAY GreetPause:127 0 ClientRate:127 0 ClientConn:127 0 Connect:IPv6:::1 RELAY GreetPause:IPv6:::1 0 ClientRate:IPv6:::1 0 ClientConn:IPv6:::1 0 #Connect:172.16 RELAY #Connect:172.17 RELAY #Connect:172.18 RELAY #Connect:172.19 RELAY #Connect:172.20 RELAY #Connect:172.21 RELAY #Connect:172.22 RELAY #Connect:172.23 RELAY #Connect:172.24 RELAY #Connect:172.25 RELAY #Connect:172.26 RELAY #Connect:172.27 RELAY #Connect:172.28 RELAY #Connect:172.29 RELAY #Connect:172.30 RELAY #Connect:172.31 RELAY #Connect:192.168 RELAY #GreetPause:192.168 0 #ClientRate:192.168 0 #ClientConn:192.168 0 # Defaults GreetPause: 5000 ClientRate: 10 ClientConn: 10 # # Don't offer AUTH on local network #SRV_Features:192.168.1 A # # Hosts with to allow relaying # # # Hosts that validly forward to me #GreetPause:<ip> 0 #ClientRate:<ip> 30 #ClientConn:<ip> 0 # # Whitelisted users # Spam:postmaster@ FRIEND Spam:abuse@ FRIEND Spam:spam@ FRIEND # # Blacklisted users # #Connect:rampellsoft.com 554 Email directly, not through didtheyreadit.com reject@ REJECT #cyberpromo.com REJECT #From:MAILER-DAEMON@store2.netvisao.pt REJECT # # Block invalid IPs # #Connect:0 REJECT whilst invalid, this also blocks sendmail -bs -Am Connect:169.254 REJECT Connect:192.0.2 REJECT Connect:224 REJECT Connect:255 REJECT
; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. 1.0.0 IN PTR localhost.
; ; BIND reverse data file for broadcast zone ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost.
// // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; zone "class12.unix.nt" { type master; file "/etc/bind/db.class12.unix.nt"; };
Время первой команды журнала | 12:36:34 2009- 6- 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:05:58 2009- 6- 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 8.91 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.52 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.67 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008