Журнал лабораторных работ

Содержание

Журнал

Четверг (06/04/09)

/dev/pts/11
12:43:31
#ip rule list table 1
"ip rule show" does not take any arguments.
/dev/pts/6
12:43:33
#ip rule list
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default
/dev/pts/11
12:43:33
#ip rule list
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default
/dev/pts/6
12:43:42
#ip rule list 0
"ip rule show" does not take any arguments.
/dev/pts/11
12:43:42
#ip rule list 0
"ip rule show" does not take any arguments.
/dev/pts/6
12:43:45
#ip rule list 1
"ip rule show" does not take any arguments.
/dev/pts/11
12:43:45
#ip rule list 1
"ip rule show" does not take any arguments.
/dev/pts/6
12:43:47
#ip rule list table
"ip rule show" does not take any arguments.
/dev/pts/11
12:43:47
#ip rule list table
"ip rule show" does not take any arguments.
/dev/pts/6
12:43:50
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data.
^C
--- 192.168.206.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
/dev/pts/11
12:43:50
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data.
^C
--- 192.168.206.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
прошло 12 минут
/dev/pts/6
12:56:38
#ping 192.168.206.1
PING 192.168.206.1 (192.168.206.1) 56(84) bytes of data.
^C
--- 192.168.206.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
/dev/pts/11
12:56:38
#ping 192.168.206.1
PING 192.168.206.1 (192.168.206.1) 56(84) bytes of data.
^C
--- 192.168.206.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
/dev/pts/6
12:56:40
#vi /etc/resolv.conf
/dev/pts/11
12:56:40
#vi /etc/resolv.conf
--- /tmp/l3-saved-5024.7521.9152	2009-06-04 12:57:11.000000000 +0300
+++ /etc/resolv.conf	2009-06-04 12:57:31.000000000 +0300
@@ -1,4 +1,4 @@
-nameserver 192.168.206.2
+nameserver 192.168.15.12
 domain unix.nt
 
 
/dev/pts/6
12:57:31
#ping 192.168.15.12
PING 192.168.15.12 (192.168.15.12) 56(84) bytes of data.
64 bytes from 192.168.15.12: icmp_seq=1 ttl=64 time=0.234 ms
^C
--- 192.168.15.12 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.234/0.234/0.234/0.000 ms
/dev/pts/11
12:57:31
#ping 192.168.15.12
PING 192.168.15.12 (192.168.15.12) 56(84) bytes of data.
64 bytes from 192.168.15.12: icmp_seq=1 ttl=64 time=0.234 ms
^C
--- 192.168.15.12 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.234/0.234/0.234/0.000 ms
прошло 35 минут
/dev/pts/6
13:32:46
#vi /etc/resolv.conf
/dev/pts/11
13:32:46
#vi /etc/resolv.conf
/dev/pts/6
13:34:09
#vi /etc/bind/named.conf.options
/dev/pts/11
13:34:09
#vi /etc/bind/named.conf.options
/dev/pts/6
13:34:43
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
  2         directory "/var/cache/bind";
  3
  4         // If there is a firewall between you and nameservers you want
  5         // to talk to, you may need to fix the firewall to allow multiple
  6         // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
  7
  8         // If your ISP provided one or more IP addresses for stable
  9         // nameservers, you probably want to use them as forwarders.
 10         // Uncomment the following block, and insert the addresses replacing
    #
...
~
~
~
~
~
~
~
~
~
"/etc/bind/named.conf.options" 22L, 651C записано
/dev/pts/11
13:34:43
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
  2         directory "/var/cache/bind";
  3
  4         // If there is a firewall between you and nameservers you want
  5         // to talk to, you may need to fix the firewall to allow multiple
  6         // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
  7
  8         // If your ISP provided one or more IP addresses for stable
  9         // nameservers, you probably want to use them as forwarders.
 10         // Uncomment the following block, and insert the addresses replacing
    #
...
~
~
~
~
~
~
~
~
~
"/etc/bind/named.conf.options" 22L, 651C записано
/dev/pts/6
13:35:01
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9.
Starting domain name service...: bind9.
/dev/pts/11
13:35:01
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9.
Starting domain name service...: bind9.
/dev/pts/6
13:35:12
#dig alpha.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> alpha.eb.co.ua
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58484
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;alpha.eb.co.ua.                        IN      A
;; ANSWER SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
;; AUTHORITY SECTION:
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
eb.co.ua.               30      IN      NS      ns2.eb.co.ua.
;; Query time: 9 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jun  4 13:35:55 2009
;; MSG SIZE  rcvd: 84
/dev/pts/11
13:35:12
#dig alpha.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> alpha.eb.co.ua
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58484
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;alpha.eb.co.ua.                        IN      A
;; ANSWER SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
;; AUTHORITY SECTION:
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
eb.co.ua.               30      IN      NS      ns2.eb.co.ua.
;; Query time: 9 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jun  4 13:35:55 2009
;; MSG SIZE  rcvd: 84
/dev/pts/6
13:35:55
#dig @ns1.eb.co.ua dp.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> @ns1.eb.co.ua dp.eb.co.ua
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25638
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 9 msec
;; SERVER: 62.80.163.45#53(62.80.163.45)
;; WHEN: Thu Jun  4 13:36:16 2009
;; MSG SIZE  rcvd: 80
/dev/pts/11
13:35:55
#dig @ns1.eb.co.ua dp.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> @ns1.eb.co.ua dp.eb.co.ua
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25638
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 9 msec
;; SERVER: 62.80.163.45#53(62.80.163.45)
;; WHEN: Thu Jun  4 13:36:16 2009
;; MSG SIZE  rcvd: 80
/dev/pts/6
13:36:16
#dig @ns2.eb.co.ua dp.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dp.eb.co.ua
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23867
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 32 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:36:45 2009
;; MSG SIZE  rcvd: 80
/dev/pts/11
13:36:16
#dig @ns2.eb.co.ua dp.eb.co.ua
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dp.eb.co.ua
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23867
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 32 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:36:45 2009
;; MSG SIZE  rcvd: 80
/dev/pts/6
13:36:45
#dig @ns2.eb.co.ua dp.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dp.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39386
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      MX
;; ANSWER SECTION:
...
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
;; ADDITIONAL SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
bravo.eb.co.ua.         30      IN      A       212.109.52.53
ns1.eb.co.ua.           30      IN      A       62.80.163.45
ns2.eb.co.ua.           30      IN      A       212.109.52.53
;; Query time: 67 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:36:58 2009
;; MSG SIZE  rcvd: 173
/dev/pts/11
13:36:45
#dig @ns2.eb.co.ua dp.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dp.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39386
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dp.eb.co.ua.                   IN      MX
;; ANSWER SECTION:
...
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
;; ADDITIONAL SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
bravo.eb.co.ua.         30      IN      A       212.109.52.53
ns1.eb.co.ua.           30      IN      A       62.80.163.45
ns2.eb.co.ua.           30      IN      A       212.109.52.53
;; Query time: 67 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:36:58 2009
;; MSG SIZE  rcvd: 173
/dev/pts/6
13:36:58
#dig @ns2.eb.co.ua dn.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dn.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16222
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dn.eb.co.ua.                   IN      MX
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 51 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:08 2009
;; MSG SIZE  rcvd: 80
/dev/pts/11
13:36:58
#dig @ns2.eb.co.ua dn.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua dn.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16222
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dn.eb.co.ua.                   IN      MX
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 51 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:08 2009
;; MSG SIZE  rcvd: 80
/dev/pts/6
13:37:08
#dig @ns2.eb.co.ua lv.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua lv.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18727
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;lv.eb.co.ua.                   IN      MX
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 56 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:14 2009
;; MSG SIZE  rcvd: 80
/dev/pts/11
13:37:08
#dig @ns2.eb.co.ua lv.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua lv.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18727
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;lv.eb.co.ua.                   IN      MX
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 56 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:14 2009
;; MSG SIZE  rcvd: 80
/dev/pts/6
13:37:14
#dig @ns2.eb.co.ua kh.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua kh.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9577
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;kh.eb.co.ua.                   IN      MX
;; ANSWER SECTION:
...
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
;; ADDITIONAL SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
bravo.eb.co.ua.         30      IN      A       212.109.52.53
ns1.eb.co.ua.           30      IN      A       62.80.163.45
ns2.eb.co.ua.           30      IN      A       212.109.52.53
;; Query time: 31 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:25 2009
;; MSG SIZE  rcvd: 173
/dev/pts/11
13:37:14
#dig @ns2.eb.co.ua kh.eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua kh.eb.co.ua mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9577
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;kh.eb.co.ua.                   IN      MX
;; ANSWER SECTION:
...
eb.co.ua.               30      IN      NS      ns1.eb.co.ua.
;; ADDITIONAL SECTION:
alpha.eb.co.ua.         30      IN      A       62.80.163.45
bravo.eb.co.ua.         30      IN      A       212.109.52.53
ns1.eb.co.ua.           30      IN      A       62.80.163.45
ns2.eb.co.ua.           30      IN      A       212.109.52.53
;; Query time: 31 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:25 2009
;; MSG SIZE  rcvd: 173
/dev/pts/6
13:37:25
#dig @ns2.eb.co.ua kh.eb.co.ua A
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua kh.eb.co.ua A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6998
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;kh.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 28 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:40 2009
;; MSG SIZE  rcvd: 80
/dev/pts/11
13:37:25
#dig @ns2.eb.co.ua kh.eb.co.ua A
; <<>> DiG 9.6.0-P1 <<>> @ns2.eb.co.ua kh.eb.co.ua A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6998
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;kh.eb.co.ua.                   IN      A
;; AUTHORITY SECTION:
eb.co.ua.               3600    IN      SOA     dns.eb.co.ua. uiyn.email.ua. 200712056 10800 3600 604800 3600
;; Query time: 28 msec
;; SERVER: 212.109.52.53#53(212.109.52.53)
;; WHEN: Thu Jun  4 13:37:40 2009
;; MSG SIZE  rcvd: 80
/dev/pts/6
13:37:40
#дls -l /etc/p
pam.conf   pango/     passwd     perl/      ppp/       profile    pulse/     python/
pam.d/     papersize  passwd-    pm/        printcap   protocols  purple/    python2.5/
13:37:40
#ls -l /etc/pa
pam.conf   pam.d/     pango/     papersize  passwd     passwd-
13:37:40
#cat /etc/pam.conf
# ---------------------------------------------------------------------------#
# /etc/pam.conf                                                              #
# ---------------------------------------------------------------------------#
#
# NOTE
# ----
#
# NOTE: Most program use a file under the /etc/pam.d/ directory to setup their
# PAM service modules. This file is used only if that directory does not exist.
# ---------------------------------------------------------------------------#
# Format:
# serv. module     ctrl       module [path]     ...[args..]                  #
# name  type       flag                                                      #
/dev/pts/11
13:37:40
#дls -l /etc/p
pam.conf   pango/     passwd     perl/      ppp/       profile    pulse/     python/
pam.d/     papersize  passwd-    pm/        printcap   protocols  purple/    python2.5/
13:37:40
#ls -l /etc/pa
pam.conf   pam.d/     pango/     papersize  passwd     passwd-
13:37:40
#cat /etc/pam.conf
# ---------------------------------------------------------------------------#
# /etc/pam.conf                                                              #
# ---------------------------------------------------------------------------#
#
# NOTE
# ----
#
# NOTE: Most program use a file under the /etc/pam.d/ directory to setup their
# PAM service modules. This file is used only if that directory does not exist.
# ---------------------------------------------------------------------------#
# Format:
# serv. module     ctrl       module [path]     ...[args..]                  #
# name  type       flag                                                      #
прошло 16 минут
/dev/pts/6
13:53:55
#cat /etc/pam.d/
atd              chsh             common-password  gdm              newusers         polkit           sudo
chfn             common-account   common-session   gdm-autologin    other            sshd             xscreensaver
chpasswd         common-auth      cron             login            passwd           su
/dev/pts/11
13:53:55
#cat /etc/pam.d/
atd              chsh             common-password  gdm              newusers         polkit           sudo
chfn             common-account   common-session   gdm-autologin    other            sshd             xscreensaver
chpasswd         common-auth      cron             login            passwd           su
/dev/pts/6
13:53:55
#cat /etc/pam.d/gdm
#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password
/dev/pts/11
13:53:55
#cat /etc/pam.d/gdm
#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password
/dev/pts/6
13:54:19
#cat /etc/def
default/ defoma/
/dev/pts/11
13:54:19
#cat /etc/def
default/ defoma/
/dev/pts/6
13:54:19
#find / -name pam_limits.so
/lib/security/pam_limits.so
^C
/dev/pts/11
13:54:19
#find / -name pam_limits.so
/lib/security/pam_limits.so
^C
/dev/pts/6
13:55:25
#cat /lib/security/pam_li
pam_limits.so    pam_listfile.so
13:55:25
#cat /lib/security/pam_limits.so
ELFÀ
!#  4„04 >ÀÌ8.8>8>ØØQåtd;+"&%*(
         $)
@D)vù=LÛ«aüQl  ‡Qcsôk·\¿Ùаe‰F¶’•¥.Ž×€É©û"]àP
                                             3€
__gmon_start____cxa_finalize_Jv_RegisterClassespam_sm_close_sessionstrtoullpam_syslogstrtolstrncpyfopen64fgets__ctype_b_locstrchrsscanf__ctype_tolower_locstrcmpfclosepam_modutil_user_in_group_nam_namstrcpypam_sm_open_sessionmemsetpam_get_itempam_modutil_getpwnam__errno_locationgetrlimit64getpriorityglobfree64setrlimit64geteuidgetuidsysconfsetprioritysetutentgetutentendutentdcgettextpam_promptchdÐP
` $(,0Ä???'(?,?0?4?8?<?@D?      H?                                                                                                                                                                                                                                                                                                                                                                             i
L?
  P?
X?\?`?d?h?l?p?t?x?|?€?„?ˆ?Œ?”?˜?œ? ? ¤?!¨?"¬?#°?$´?%¸?&¼?'À?(U‰åSƒìè[Ã5‹“ôÿÿÿ…ÒtèNè    è4X[ÉÃÿ³ÿÿ£
...
                    †
                     –
                      ¦
                       ¶
                        Ä?.shstrtab.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.eh_frame.ctors.dtors.jcr.data.rel.ro.dynamic.got.got.plt.data.bss´´ 
                                                                                                                                                                                               öÿÿoTT$
                                                                                                                                                                                                      xx°((j%ÿÿÿo’’V2þÿÿoèè A   J       8
S
0N@
@
/dev/pts/11
13:55:25
#cat /lib/security/pam_li
pam_limits.so    pam_listfile.so
13:55:25
#cat /lib/security/pam_limits.so
ELFÀ
!#  4„04 >ÀÌ8.8>8>ØØQåtd;+"&%*(
         $)
@D)vù=LÛ«aüQl  ‡Qcsôk·\¿Ùаe‰F¶’•¥.Ž×€É©û"]àP
                                             3€
__gmon_start____cxa_finalize_Jv_RegisterClassespam_sm_close_sessionstrtoullpam_syslogstrtolstrncpyfopen64fgets__ctype_b_locstrchrsscanf__ctype_tolower_locstrcmpfclosepam_modutil_user_in_group_nam_namstrcpypam_sm_open_sessionmemsetpam_get_itempam_modutil_getpwnam__errno_locationgetrlimit64getpriorityglobfree64setrlimit64geteuidgetuidsysconfsetprioritysetutentgetutentendutentdcgettextpam_promptchdÐP
` $(,0Ä???'(?,?0?4?8?<?@D?      H?                                                                                                                                                                                                                                                                                                                                                                             i
L?
  P?
X?\?`?d?h?l?p?t?x?|?€?„?ˆ?Œ?”?˜?œ? ? ¤?!¨?"¬?#°?$´?%¸?&¼?'À?(U‰åSƒìè[Ã5‹“ôÿÿÿ…ÒtèNè    è4X[ÉÃÿ³ÿÿ£
...
                    †
                     –
                      ¦
                       ¶
                        Ä?.shstrtab.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.eh_frame.ctors.dtors.jcr.data.rel.ro.dynamic.got.got.plt.data.bss´´ 
                                                                                                                                                                                               öÿÿoTT$
                                                                                                                                                                                                      xx°((j%ÿÿÿo’’V2þÿÿoèè A   J       8
S
0N@
@
/dev/pts/6
13:55:59
#cat /etc/pam.d/common-session
#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive).
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
...
# here's the fallback if no module succeeds
session requisite                       pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
session required                        pam_permit.so
# and here are more per-package modules (the "Additional" block)
session required        pam_unix.so
session optional                        pam_ck_connector.so nox11
# end of pam-auth-update config
/dev/pts/11
13:55:59
#cat /etc/pam.d/common-session
#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive).
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
...
# here's the fallback if no module succeeds
session requisite                       pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
session required                        pam_permit.so
# and here are more per-package modules (the "Additional" block)
session required        pam_unix.so
session optional                        pam_ck_connector.so nox11
# end of pam-auth-update config
/dev/pts/6
13:56:07
#cat /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
...
# here are the per-package modules (the "Primary" block)
auth    [success=1 default=ignore]      pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth    requisite                       pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth    required                        pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
/dev/pts/11
13:56:07
#cat /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
...
# here are the per-package modules (the "Primary" block)
auth    [success=1 default=ignore]      pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth    requisite                       pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth    required                        pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
/dev/pts/6
13:57:59
#cat /etc/pam.d/* |grep user
# This allows root to change user infomation without being
# This will not allow a user to change their shell unless
# This allows root to change user shell without being
# only deny service to users whose accounts are expired in /etc/shadow.
# used to change user passwords.  The default is pam_unix.
# Sets up user limits, please define limits for cron tasks
# guess valid user names of your system (invalid user names are considered
# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Sets up user limits according to /etc/security/limits.conf
...
# The PAM configuration file for the Shadow 'newusers' service
# Print the status of the user's mailbox upon successful login.
# Set up user limits from /etc/security/limits.conf.
# Uncomment this to force users to be a member of group root
# denying "root" user, unless she's a member of "foo" or explicitly
# However, userdel also needs MAIL_DIR and MAIL_FILE variables
# in /etc/login.defs to make sure that removing a user
# also removes the user's mail spool file.
# "nopen" stands to avoid reporting new mail when su'ing to another user
# Sets up user limits, please uncomment and read /etc/security/limits.conf
/dev/pts/11
13:57:59
#cat /etc/pam.d/* |grep user
# This allows root to change user infomation without being
# This will not allow a user to change their shell unless
# This allows root to change user shell without being
# only deny service to users whose accounts are expired in /etc/shadow.
# used to change user passwords.  The default is pam_unix.
# Sets up user limits, please define limits for cron tasks
# guess valid user names of your system (invalid user names are considered
# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Sets up user limits according to /etc/security/limits.conf
...
# The PAM configuration file for the Shadow 'newusers' service
# Print the status of the user's mailbox upon successful login.
# Set up user limits from /etc/security/limits.conf.
# Uncomment this to force users to be a member of group root
# denying "root" user, unless she's a member of "foo" or explicitly
# However, userdel also needs MAIL_DIR and MAIL_FILE variables
# in /etc/login.defs to make sure that removing a user
# also removes the user's mail spool file.
# "nopen" stands to avoid reporting new mail when su'ing to another user
# Sets up user limits, please uncomment and read /etc/security/limits.conf
/dev/pts/6
13:58:11
#cat /etc/login.defs |grep user
# REQUIRED for useradd/userdel/usermod
#      - MAIL_DIR defines the location of users mail spool files
#        (for mbox use) by appending the username to MAIL_DIR as defined
#      - MAIL_FILE defines the location of the users mail spool files as the
#        fully-qualified filename obtained by prepending the user home
# NOTE: This is no more used for setting up users MAIL environment variable
# move to /etc/default/useradd and the variables will then be
# Enable display of unknown usernames when login failures are recorded.
# WARNING: Unknown usernames may become world readable.
# user's name or shell are found in the file.  If not a full pathname, then
...
# Which fields may be changed by regular users using chfn - use
# If defined, this command is run when removing a user.
# the user to be removed (passed as the first argument).
#USERDEL_CMD    /usr/sbin/userdel_local
# This enables userdel to remove user groups if no members exist.
# user==primary group are not used in PAM environments, thus in Debian
# Instead of the real user shell, the program specified by this parameter
# List of groups to add to the user's supplementary group set
# Use with caution - it is possible for users to gain permanent
# users.
/dev/pts/11
13:58:11
#cat /etc/login.defs |grep user
# REQUIRED for useradd/userdel/usermod
#      - MAIL_DIR defines the location of users mail spool files
#        (for mbox use) by appending the username to MAIL_DIR as defined
#      - MAIL_FILE defines the location of the users mail spool files as the
#        fully-qualified filename obtained by prepending the user home
# NOTE: This is no more used for setting up users MAIL environment variable
# move to /etc/default/useradd and the variables will then be
# Enable display of unknown usernames when login failures are recorded.
# WARNING: Unknown usernames may become world readable.
# user's name or shell are found in the file.  If not a full pathname, then
...
# Which fields may be changed by regular users using chfn - use
# If defined, this command is run when removing a user.
# the user to be removed (passed as the first argument).
#USERDEL_CMD    /usr/sbin/userdel_local
# This enables userdel to remove user groups if no members exist.
# user==primary group are not used in PAM environments, thus in Debian
# Instead of the real user shell, the program specified by this parameter
# List of groups to add to the user's supplementary group set
# Use with caution - it is possible for users to gain permanent
# users.
/dev/pts/6
13:58:36
#cat /etc/login.defs |grep sess

/dev/pts/11
13:58:36
#cat /etc/login.defs |grep sess

/dev/pts/6
13:58:45
#cat /etc/pam.d/* |grep sess
@include common-session
session    required   pam_limits.so
@include common-session
@include common-session
# /etc/pam.d/common-session - session-related modules common to all services
# at the start and end of sessions of *any* kind (both interactive and
session [default=1]                     pam_permit.so
session requisite                       pam_deny.so
session required                        pam_permit.so
session required        pam_unix.so
...
session    optional     pam_mail.so standard noenv # [1]
session    required     pam_limits.so
# session  required     pam_selinux.so multiple
session       required   pam_env.so readenv=1
session       required   pam_env.so readenv=1 envfile=/etc/default/locale
session    optional   pam_mail.so nopen
# session    required   pam_limits.so
@include common-session
session required pam_permit.so
session required pam_limits.so
/dev/pts/11
13:58:45
#cat /etc/pam.d/* |grep sess
@include common-session
session    required   pam_limits.so
@include common-session
@include common-session
# /etc/pam.d/common-session - session-related modules common to all services
# at the start and end of sessions of *any* kind (both interactive and
session [default=1]                     pam_permit.so
session requisite                       pam_deny.so
session required                        pam_permit.so
session required        pam_unix.so
...
session    optional     pam_mail.so standard noenv # [1]
session    required     pam_limits.so
# session  required     pam_selinux.so multiple
session       required   pam_env.so readenv=1
session       required   pam_env.so readenv=1 envfile=/etc/default/locale
session    optional   pam_mail.so nopen
# session    required   pam_limits.so
@include common-session
session required pam_permit.so
session required pam_limits.so
/dev/pts/6
13:58:50
#whatis l3-agent
l3-agent: ничего подходящего не найдено.
/dev/pts/11
13:58:50
#whatis l3-agent
l3-agent: ничего подходящего не найдено.
/dev/pts/6
13:59:41
#whereis l3-agent
l3-agent: /usr/local/bin/l3-agent
/dev/pts/11
13:59:41
#whereis l3-agent
l3-agent: /usr/local/bin/l3-agent
13:59:49
#strings /usr/local/bin/l3-agent
        if ($cl->{"diff"}) {
            print OUT "<diff>";
            printq(\*OUT,${$Diffs{$cl->{"diff"}}}{"text"});
            print OUT "</diff>\n";
        }
        print OUT "</command>\n";
    }
    close(OUT);
sub print_session
    my $output_filename = $_[0];
...
            }
            save_cache_stat();
            if (-e $Config{cache} && (stat($Config{cache}))[7]) {
                send_cache() && unlink($Config{cache});
            }
            sleep($Config{"daemon_sleep_interval"} || 1);
        }
        unlink $Config{agent_pidfile};
    }
sub init_variables
/dev/pts/6
13:59:49
#strings /usr/local/bin/l3-agent
        if ($cl->{"diff"}) {
            print OUT "<diff>";
            printq(\*OUT,${$Diffs{$cl->{"diff"}}}{"text"});
            print OUT "</diff>\n";
        }
        print OUT "</command>\n";
    }
    close(OUT);
sub print_session
    my $output_filename = $_[0];
...
            }
            save_cache_stat();
            if (-e $Config{cache} && (stat($Config{cache}))[7]) {
                send_cache() && unlink($Config{cache});
            }
            sleep($Config{"daemon_sleep_interval"} || 1);
        }
        unlink $Config{agent_pidfile};
    }
sub init_variables
14:00:27
#strings /usr/local/bin/l3-agent |grep conf
use l3config;
    init_config;
    init_config();
/dev/pts/11
14:00:27
#strings /usr/local/bin/l3-agent |grep conf
use l3config;
    init_config;
    init_config();
/dev/pts/6
14:01:15
#ls -l
итого 8
-rw-r--r-- 1 root root 5827 Май 25 09:14 l3config.pm
/dev/pts/11
14:01:15
#ls -l
итого 8
-rw-r--r-- 1 root root 5827 Май 25 09:14 l3config.pm
/dev/pts/6
14:01:18
#cat l3config.pm
    "terminal_width"    => 400,
    "terminal_height"   => 300,
    "verbose"           => "yes",
    "head_lines"        => 10,
    "tail_lines"        => 10,
    "cache_head_lines"  => 250,
    "cache_tail_lines"  => 250,
    "skip_text"         => "...",
    "show_time"         => "yes",
    "show_diffs"        => "yes",
...
        my %argv_config;
        my %file_config;
        read_config_file(\%file_config, $System_Config_File);
        read_config_file(\%file_config, $User_Config_File);
        GetOptions(\%argv_config, map "$_=s", keys %Config);
        %Config = (%Config, %file_config, %argv_config);
    for my $key (keys %Config) {
        utf8::decode($Config{$key});
    }
}
/dev/pts/11
14:01:18
#cat l3config.pm
    "terminal_width"    => 400,
    "terminal_height"   => 300,
    "verbose"           => "yes",
    "head_lines"        => 10,
    "tail_lines"        => 10,
    "cache_head_lines"  => 250,
    "cache_tail_lines"  => 250,
    "skip_text"         => "...",
    "show_time"         => "yes",
    "show_diffs"        => "yes",
...
        my %argv_config;
        my %file_config;
        read_config_file(\%file_config, $System_Config_File);
        read_config_file(\%file_config, $User_Config_File);
        GetOptions(\%argv_config, map "$_=s", keys %Config);
        %Config = (%Config, %file_config, %argv_config);
    for my $key (keys %Config) {
        utf8::decode($Config{$key});
    }
}
/dev/pts/6
14:01:28
#cd /var/l
lib/   local/ lock/  log/
/dev/pts/11
14:01:28
#cd /var/l
lib/   local/ lock/  log/
/dev/pts/6
14:01:28
#find / -name lilalo
/etc/lilalo
/dev/pts/11
14:01:28
#find / -name lilalo
/etc/lilalo
/dev/pts/6
14:02:15
#ls /var
backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp
/dev/pts/11
14:02:15
#ls /var
backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp
/dev/pts/6
14:02:33
#find / -name lm.log

/dev/pts/11
14:02:33
#find / -name lm.log

/dev/pts/6
14:02:57
#ps aux | grep l3
root      3394  2.7  0.2  12996  7916 ?        Ss   Jun03  30:57 l3-agent
/dev/pts/11
14:02:57
#ps aux | grep l3
root      3394  2.7  0.2  12996  7916 ?        Ss   Jun03  30:57 l3-agent
/dev/pts/6
14:03:11
#vi /etc/bind/named.conf.options
/dev/pts/11
14:03:11
#vi /etc/bind/named.conf.options
--- /tmp/l3-saved-5024.17171.1284	2009-06-04 14:04:04.000000000 +0300
+++ /etc/bind/named.conf.options	2009-06-04 14:04:29.000000000 +0300
@@ -15,7 +15,7 @@
 	 };
 
 	auth-nxdomain no;    # conform to RFC1035
-	listen-on { 127.0.0.1; };
+#	listen-on { 127.0.0.1; };
 	listen-on-v6 { any; };
 #	allow-recursion { 192.168.15.0/24;192.168.206.0/24; };
 };
/dev/pts/6
14:04:29
#vi /etc/bind/named.conf
/dev/pts/11
14:04:29
#vi /etc/bind/named.conf
/dev/pts/6
14:04:44
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
  1 //
  2 // Do any local configuration here
  3 //
  4
  5 // Consider adding the 1918 zones here, if they are not used in your
  6 // organization
  7 //include "/etc/bind/zones.rfc1918";
  8
"/etc/bind/named.conf.local" 8L, 165C
/dev/pts/11
14:04:44
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
  1 //
  2 // Do any local configuration here
  3 //
  4
  5 // Consider adding the 1918 zones here, if they are not used in your
  6 // organization
  7 //include "/etc/bind/zones.rfc1918";
  8
"/etc/bind/named.conf.local" 8L, 165C
/dev/pts/6
14:05:25
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0                db.255              db.local            named.conf          named.conf.options  zones.rfc1918
db.127              db.empty            db.root             named.conf.local    rndc.key
/dev/pts/11
14:05:25
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0                db.255              db.local            named.conf          named.conf.options  zones.rfc1918
db.127              db.empty            db.root             named.conf.local    rndc.key

Файлы

  • /etc/def
  • /etc/pam.conf
  • /etc/pam.d/
  • /etc/pam.d/common-auth
  • /etc/pam.d/common-session
  • /etc/pam.d/gdm
  • /lib/security/pam_limits.so
  • l3config.pm
  • /etc/def
    >
    default/ defoma/
    
    /etc/pam.conf
    >
    # ---------------------------------------------------------------------------#
    # /etc/pam.conf                                                              #
    # ---------------------------------------------------------------------------#
    #
    # NOTE
    # ----
    #
    # NOTE: Most program use a file under the /etc/pam.d/ directory to setup their
    # PAM service modules. This file is used only if that directory does not exist.
    # ---------------------------------------------------------------------------#
    # Format:
    # serv. module     ctrl       module [path]     ...[args..]                  #
    # name  type       flag                                                      #
    
    /etc/pam.d/
    >
    atd              chsh             common-password  gdm              newusers         polkit           sudo
    chfn             common-account   common-session   gdm-autologin    other            sshd             xscreensaver
    chpasswd         common-auth      cron             login            passwd           su
    
    /etc/pam.d/common-auth
    >
    #
    # /etc/pam.d/common-auth - authentication settings common to all services
    #
    # This file is included from other service-specific PAM config files,
    # and should contain a list of the authentication modules that define
    # the central authentication scheme for use on the system
    # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
    # traditional Unix authentication mechanisms.
    #
    # As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
    # To take advantage of this, it is recommended that you configure any
    # local modules either before or after the default block, and use
    # pam-auth-update to manage selection of other modules.  See
    # pam-auth-update(8) for details.
    # here are the per-package modules (the "Primary" block)
    auth    [success=1 default=ignore]      pam_unix.so nullok_secure
    # here's the fallback if no module succeeds
    auth    requisite                       pam_deny.so
    # prime the stack with a positive return value if there isn't one already;
    # this avoids us returning an error just because nothing sets a success code
    # since the modules above will each just jump around
    auth    required                        pam_permit.so
    # and here are more per-package modules (the "Additional" block)
    # end of pam-auth-update config
    
    /etc/pam.d/common-session
    >
    #
    # /etc/pam.d/common-session - session-related modules common to all services
    #
    # This file is included from other service-specific PAM config files,
    # and should contain a list of modules that define tasks to be performed
    # at the start and end of sessions of *any* kind (both interactive and
    # non-interactive).
    #
    # As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
    # To take advantage of this, it is recommended that you configure any
    # local modules either before or after the default block, and use
    # pam-auth-update to manage selection of other modules.  See
    # pam-auth-update(8) for details.
    # here are the per-package modules (the "Primary" block)
    session [default=1]                     pam_permit.so
    # here's the fallback if no module succeeds
    session requisite                       pam_deny.so
    # prime the stack with a positive return value if there isn't one already;
    # this avoids us returning an error just because nothing sets a success code
    # since the modules above will each just jump around
    session required                        pam_permit.so
    # and here are more per-package modules (the "Additional" block)
    session required        pam_unix.so
    session optional                        pam_ck_connector.so nox11
    # end of pam-auth-update config
    
    /etc/pam.d/gdm
    >
    #%PAM-1.0
    auth    requisite       pam_nologin.so
    auth    required        pam_env.so readenv=1
    auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
    @include common-auth
    auth    optional        pam_gnome_keyring.so
    @include common-account
    session required        pam_limits.so
    @include common-session
    session optional        pam_gnome_keyring.so auto_start
    @include common-password
    
    /lib/security/pam_limits.so
    >
    ELFÀ
    !#  4„04 >ÀÌ8.8>8>ØØQåtd;+"&%*(
             $)
    @D)vù=LÛ«aüQl  ‡Qcsôk·\¿Ùаe‰F¶’•¥.Ž×€É©û"]àP
                                                 3€
    __gmon_start____cxa_finalize_Jv_RegisterClassespam_sm_close_sessionstrtoullpam_syslogstrtolstrncpyfopen64fgets__ctype_b_locstrchrsscanf__ctype_tolower_locstrcmpfclosepam_modutil_user_in_group_nam_namstrcpypam_sm_open_sessionmemsetpam_get_itempam_modutil_getpwnam__errno_locationgetrlimit64getpriorityglobfree64setrlimit64geteuidgetuidsysconfsetprioritysetutentgetutentendutentdcgettextpam_promptchdÐP
    ` $(,0Ä???'(?,?0?4?8?<?@D?      H?                                                                                                                                                                                                                                                                                                                                                                             i
    L?
      P?
    X?\?`?d?h?l?p?t?x?|?€?„?ˆ?Œ?”?˜?œ? ? ¤?!¨?"¬?#°?$´?%¸?&¼?'À?(U‰åSƒìè[Ã5‹“ôÿÿÿ…ÒtèNè    è4X[ÉÃÿ³ÿÿ£
                                                                                                       héàÿÿÿÿ£éÐÿÿÿÿ£héÀÿÿÿÿ£hé°ÿÿÿÿ£h é ÿÿÿÿ£ h(éÿÿÿÿ£$h0é€ÿÿÿÿ£(h8épÿÿÿÿ£,h@é`ÿÿÿÿ£0hHéPÿÿÿÿ£4hPé@ÿÿÿÿ£8hXé0ÿÿÿÿ£<h`é ÿÿÿÿ£@hhéÿÿÿÿ£Dhpéÿÿÿÿ£Hhxéðþÿÿÿ£Lh€éàþÿÿÿ£PhˆéÐþÿÿÿ£ThéÀþÿÿÿ£Xh˜é°þÿÿÿ£\h é þÿÿÿ£`h¨éþÿÿÿ£dh°é€þÿÿÿ£hh¸épþÿÿÿ£lhÀé`þÿÿÿ£phÈéPþÿÿÿ£thÐé@þÿÿÿ£xhØé0þÿÿÿ£|hàé þÿÿÿ£€hèéþÿÿÿ£„hðéþÿÿÿ£ˆhøé‹
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
    „|‹E€8-¶„²‹u¹                                                                                                                                                                                                                                                                                                                                                                                                ƒƒ
    »Ríÿÿó¦…<ºÿÿÿÿ¾ÿÿÿÿ¿ÿÿÿÿ‹EЃèƒø‡ƒ}܄
                                         ‹E؅À…‰ƒÄL[^_]Ћu
                                                           ¹» ìÿÿó¦ÇEܗ’À8„>ÿÿÿ‹u
                                                                                    ¹»¦ìÿÿó¦ÇEܗ’À8„ÿÿÿ‹u
                                                                                                            ¹»«ìÿÿó¦ÇEܗ’À8„ôþÿÿ‹u
                                                                                                                                     ¹»±ìÿÿó¦ÇEܗ’À8„Ïþÿÿƒ}Ìr„¦‹u
                                                                                                                                                                    ¹»¶ìÿÿó¦ÇEܗ’À8„ þÿÿ‹u
                                                                                                                                                                                             ¹»¼ìÿÿó¦ÇEܗ’À8„{þÿÿ‹u
                                                                                                                                                                                                                      »Ãìÿÿó¦ÇE—Â’À8„Vþÿÿƒ}Ìa„a‹u
                                                                                                                                                                                                                                                   ¹»Ëìÿÿó¦ÇEÜ
    —Â’À8„'þÿÿ‹u
                 ¹
                  »Ñìÿÿó¦ÇEÜ
                             —Â’À8„þÿÿ‹u
                                         ¹  »Üìÿÿó¦ÇEÜ
                                                       —Â’À8„Ýýÿÿ‹u
    —Â’À8„¸ýÿÿ‹u                                                   ¹»åìÿÿó¦ÇEÜ
                 ¹»êìÿÿó¦ÇEܗ’À8„“ýÿÿ‹u
                                          ¹
    »ñìÿÿ󦅿‹UÇEÜÇB
    tvƒ}Üftnƒ}Üf„–EðÇD$t&‹u¹    »\íÿÿ󦄮ýÿÿfƒ}܄†ƒ}܄|ƒ}Ü
    ‰D$‹M‰
          $è úÿÿ‰Æ‰Ð        ð‰×…
    ‹U;Uð…þ‹ƒÈêÿÿ‰T$
                     ‰DÇD$‰L$‹uԉ4$ènùÿÿéPýÿÿEð1öÇD$
    1ÿ‰D$‹M‰
    wJ¶MܸÓà©>„Œ‰ð!øƒÀt+ÿÿÿ?‡ß´&rÐ1Ò1ö1ÿƒèƒø†ñüÿÿ´&ƒ}Ü
                                   ƒþþv‡Ê¤÷
    Áæ
    vƒ}܍t&„ú‹E܃èƒø‡ƒƒ}܄q‹u‹EÐ;yüÿÿ‰V‰énüÿÿ´&‹¹»5íÿÿó¦ÇEà—Â’À8„Óûÿÿ‹€:-uÇEà€z„ºûÿÿf‹EÜÇEàƒèƒø†¢ûÿÿ‹ƒ:íÿÿ‰DÇD$‰L$
                                                                                                                         ‹uԉ4$èøÿÿéèûÿÿ‹„“ÿÿÿ‰D$‹UƒØîÿÿ‰T$‹M
                                                                                                                                                               ‰L$‹‰D$
                                                                                                                                                                      ƒ¨êÿÿ‰DÇD$‰t$‹Eԉ$è¹÷ÿÿéÍúÿÿt&€x1u€x¶„Nûÿÿf‹U€z…(ûÿÿºÿÿÿÿ¾ÿÿÿÿ¿ÿÿÿÿé9ûÿÿ¶öÄ …ÿ¨„—þÿÿ‰ð!øƒÀt.ÿDDD‡*fr
                                                                                                                                                                                                                                                                                  þCDDD‡¸<÷ækÏ<‰Æ<vöEàt(kEÜE‹MÐ;ˆ´óúÿÿ‰°¼‰¸À‰ˆ´öEà„×úÿÿkEÜE‹UÐ;¸Áúÿÿ‰°Ä‰¸È‰¸éªúÿÿvÇDœ‹U‰T$‹EƒÀ‰$è³öÿÿé…úÿÿ¶1ÒéTúÿÿƒôêÿÿÇé
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰t
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹$
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                   „
    »ûìÿÿó¦u‹MÇEÜÇA                                                                                                                                                                                                                                                                                                                                                                                               ¹
                    é–øÿÿ‹u
                           ¹        íÿÿó¦ÇEܗ’À8„qøÿÿ‹u
                                                          ¹»íÿÿó¦ÇEܗ’À8„Løÿÿ‹u
                                                                                  ƒíÿÿ‰DÇD$‰t$
                                                                                               ‹Eԉ$èÕôÿÿé·øÿÿU‰åWVSì\‰…Üëÿÿ‹è÷ÿÿÃ2)‰•Øëÿÿƒà‰…àëÿÿt5‹U
                                                                                                                                                         ‹‚T!…À„S‰D$
                                                                                                                                                                    ƒíÿÿ‰DÇD$‹Üëÿÿ‰
                                                                                                                                                                                     $èjôÿÿ‹E
                                                                                                                                                                                             ‹T!…҄؍ƒšíÿÿ‰D$‰$è‡ôÿÿ…À‰…èëÿÿ„¹‹U
                                                                                                                                                                                                                                 ôûÿÿ‰Äëÿÿƒœíÿÿ‹¥íÿÿ‰…ÀëÿÿÂ\!‰•äëÿÿ“Öíÿÿ‰•¼ëÿÿ‰¸ëÿÿf‹…èëÿÿÇD$‰D‹•Äëÿÿ‰$èøóÿÿ…À„ø¶µôûÿÿ‹Äëÿÿ‰ð„À‰Ï‰ðëÿÿt3èPôÿÿ‹½Äëÿÿ‹ë¶ƒÇ¶7‰ð„Àt
                                                                                                                                                                                                                                                                                                                                                                           ‰ñ¾ÁöDB u艽ðëÿÿÇD$#‹…ðëÿÿ‰$è\óÿÿ…ÀtÆÇD$
    ‹•ðëÿÿ‰$è?óÿÿ…ÀtƋðëÿÿ€9„Aÿÿÿ…ôëÿÿ1ö‰…Èëÿÿ•ôïÿÿƅôëÿÿôóÿÿƅôïÿÿƅôóÿÿƅô÷ÿÿ‰D$…ô÷ÿÿ‰•Ôëÿÿ‰T$‰Ðëÿÿ‰L$
    €½ôóÿÿ-„Õ‰|$                                                                                               ‰…Ìëÿÿ‰D‹•Àëÿÿ‰<$‰T$èiôÿÿ‰…ìëÿÿëëÿÿ¾1‹‹ˆ1ƒÆ‹Ðëÿÿ‹ƒÁÿþþþ÷Ð! €€té÷€€uÁêƒÁ҃Ù+Ðëÿÿ9Îr¬1öƒ½ìëÿÿt[ƒ½ìëÿÿu
                ‹•¼ëÿÿÇD$‰T‹Üëÿÿ‰
                                  $è'òÿÿé*þÿÿfè‹óÿÿ‹Ôëÿÿ¾1‹‹ˆ1ƒÆ‹Ôëÿÿ‹ƒÁÿþþþ÷Ð! €€té÷€€uÁêƒÁ҃Ù+Ôëÿÿ9Îr¬1öëè3óÿÿ‹Èëÿÿ¾1‹‹ˆ1ƒÆ‹Èëÿÿ‹ƒÁÿþþþ÷Ð! €€té÷€€uÁêƒÁ҃Ù+Èëÿÿ9Îr¬‹…Ìëÿÿ‰D$‹•Øëÿÿ‰$è<óÿÿ…À„—¶…ô÷ÿÿ<@„<%„u‹…Ìëÿÿ€8*…6ýÿÿ€x…,ýÿÿ‹U
                                                                                                                                                                                                                                                          ‹2…ö…ýÿÿ‰T$‹‰L$
                                                                                                                                                                                                                                                                         ‹…Èëÿÿ‰D‹•Ôëÿÿ‰T$‹Ðëÿÿº‰
                                                                                                                                                                                                                                                                                                  $‹…ÜëÿÿèÏóÿÿéâüÿÿf‹•èëÿÿ‰$èŠñÿÿ1ÀÄ\[^_]ËM
                                                                                                                                                                                                                                                                                                                                              ‰L$‹‰D$
                                                                                                                                                                                                                                                                                                                                                     ‹•Èëÿÿ‰T‹Ôëÿÿ1҉L$‹…Ðëÿÿ‰$‹…Üëÿÿèuóÿÿéˆüÿÿ‹U
                                                                                                                                                                                                                                                                                                                                                                                                  ‹‚T!…À„C‰D$
                                                                                                                                                                                                                                                                                                                                                                                                             ƒ ëÿNj
                                                                                                                                                                                                                                                                                                                                                                                                                   [
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹„
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰L
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹‰
                                                                                                                                                                                                                                                                                                                                                                                                                  lj
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                   ‹
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹u
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰D
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹‹
                                                                                                                                                                                                                                                                                                                                                                                                                   $
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰L
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹‰
                                                                                                                                                                                                                                                                                                                                                                                                                  lj
                                                                                                                                                                                                                                                                                                                                                                                                                  Nj
    ‹½Úÿÿ󦅃,Úÿÿé"ÿÿÿv‹‰T$‰$èyìÿÿ…À‰…(Úÿÿ„³‹ƒ´Ç…pÚÿÿ…À„xè.ëÿÿ úÿÿ‰XÚÿÿ‰ÏDž\ÚÿÿDžLÚÿÿ‰…DÚÿÿë)t&ÇGǃ½LÚÿÿæƒ…LÚÿÿƒÇ‹µLÚÿÿ‹•Úÿÿƒîµ‰… Úÿÿ‰ðÁà+… Úÿÿ‰4$„¼‰D$èìÿÿƒÀ„Hƒþ
                                                                                                                                                                           ÇÇGLJ{ÿÿÿ‹µ Úÿÿ‹„3¤îÿÿØÿàf‹µôÙÿÿ¹
                                                                                                                                                                                                             ‹½Úÿÿó¦…#ƒ,ÚÿÿéúýÿÿvDž|ûÿÿ€
                                                                                                                                                                                                                                          Dž€ûÿÿDž„ûÿÿ€
                                                                                                                                                                                                                                                       Džˆûÿÿé.ÿÿÿvDž`ûÿÿþ?DždûÿÿDžhûÿÿþ?Džlûÿÿéþþÿÿv‹ƒ´‰ÂÁú‰…
                                                                                                                                                                                                                                                                                                                ûÿÿ‰•ûÿÿ‰…ûÿÿ‰•ûÿÿéÓþÿÿDžðúÿÿDžôúÿÿDžøúÿÿDžüúÿÿé¦þÿÿvDžœúÿÿDž úÿÿDž¤úÿÿÿÿÿÿDž¨úÿÿÿÿÿÿévþÿÿvDž€úÿÿÇ
                                                                                                                                                                                                                                                                                                                                                                                                                  ‹‹
    Dž€Úÿÿ»ìëÿÿDž4ÚÿÿDž`Úÿÿ‰½
                              Úÿÿ鐍t&‹XÚÿÿ‹A9A‹Qrw9Q
                                                      v
                                                       ‹µXÚÿÿ‰V
                                                               ‰Fk…4Úÿÿ‹½Úÿÿ„¼‰D$‹…4Úÿÿ‰$èžçÿÿ…À‰…0Úÿÿ„”ƒ½4Úÿÿu‹…ðúÿÿ#…ôúÿÿƒÀtm‹•DÚÿÿ‹:è¹éÿÿ‰ÆèÂèÿÿ‹XÚÿÿ‰t$$‰D$ ‹A‹Q‰D$‰T$‹A
                                                                                                                                                                              ‹Q‹ÇD$‰D$‹…4Úÿÿ‰T$‹•
                                                                                                                                                                                                  Úÿÿ‰
                                                                                                                                                                                                      $‰D$
                                                                                                                                                                                                          ‰TèQçÿÿ‹µDÚÿÿ‰>ƒ½0Úÿÿÿ„²‹…0Úÿÿ    …`Úÿÿƒ…4Úÿÿƒ…XÚÿÿƒ½4Úÿÿ„¢‹…XÚÿÿ…Étكx…×þÿÿƒ…Íþÿÿt&뾍¶ö…,Úÿÿ¾
    t&„áúÿÿ‹Eð¾
    ‹ÇD$‰D$
           ƒ”ëÿÿ‰D‰$è©æÿÿé³úÿÿt&‹DÚÿÿǃ9„IûÿÿDž\Úÿÿé:ûÿÿ‹µôÙÿÿ‹½üÙÿÿó¦…Ƀ,Úÿé¾ùÿÿ‹…À„-ýÿÿDžtÚÿÿþÿÿÿDžxÚÿÿƅ„Úÿÿƒ/îÿÿ¾‰D‹ÇD$‰$èæÿÿéúÿÿÇ$èÏåÿÿ=ÿÿ‰ƒ´kúÿÿǃ´é\úÿÿDžpÚÿÿéêüÿÿ‹½Úÿÿ‰<$‰÷èçÿÿ‹…Äûÿÿ…À„¦‰D$
                                                                                                                                                                                                          ƒÀëÿÿ‰þ‰D‹ÇD$‰$èåÿÿé™ùÿÿ‹½DÚÿÿƒ?…?þÿÿvéCþÿÿ‹…€Úÿÿ¾ÇD$Ç$‰Dèàåÿÿ…Àu‹•`Úÿÿ…Ò•À¶ð‹…PÚÿÿ…À„\‹•tÚÿÿƒú‰•8ÚÿÿŽEö…,Úÿÿ…ÒèÉæÿÿ‹…,Úÿÿ•Ìûÿÿ‰•ÚÿÿÁèƒðƒà‰…<Úÿÿèæÿÿ…À‰Ç„fƒ?uë€,´&tދ…|Úÿÿ…Àu+‹xÚÿÿƒù‰@Úÿÿ†Çƒù„¾‰‰
                                                                                                                                                                                                                                                                                                                                                                                                                  lj
                                                                                                                                                                                                                                                                                                                                                                                                                  lj
                                                                                                                                                                                                                                                                                                                                                                                                                  ÇÚ
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰L
                                                                                                                                                                                                                                                                                                                                                                                                                  lj
                                                                                                                                                                                                                                                                                                                                                                                                                  ‰‰
                                                                                                                                                                                                                                                                                                                                                                                                                   N
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   â
                                                                                                                                                                                                                                                                                                                                                                                                                   õ
    ¨)´õþÿoT(x
    j
     ?8þÿÿoèÿÿÿoðÿÿo’úÿÿo8>V
    f
    v
    †
    –
    ¦
    ¶
    Æ
    Ö
    æ
    ö
    &
     6
      F
       V
        f
         v
          †
           –
            ¦
             ¶
              Æ
               Ö
                æ
                 ö
                  &
                   6
                    F
                     V
                      f
                       v
                        †
                         –
                          ¦
                           ¶
                            Ä?.shstrtab.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.eh_frame.ctors.dtors.jcr.data.rel.ro.dynamic.got.got.plt.data.bss´´ 
                                                                                                                                                                                                   öÿÿoTT$
                                                                                                                                                                                                          xx°((j%ÿÿÿo’’V2þÿÿoèè A   J       8
    S
    0N@
    @
    
    l3config.pm
    >
        "terminal_width"    => 400,
        "terminal_height"   => 300,
        "verbose"           => "yes",
        "head_lines"        => 10,
        "tail_lines"        => 10,
        "cache_head_lines"  => 250,
        "cache_tail_lines"  => 250,
        "skip_text"         => "...",
        "show_time"         => "yes",
        "show_diffs"        => "yes",
        "show_screenshots"  => "yes",
        "show_comments"     => "yes",
        "show_notes"        => "yes",
        "input"             => "$ENV{HOME}/.lilalo",
        "diffs"             => "",
        "input_mask"        => "*.script",
        "encoding"          => "utf-8",
        "cache"             => "$ENV{HOME}/.lilalo/report.xml",
        "cache_stat"        => "$ENV{HOME}/.lilalo/.report.dat",
        "output"            => "/tmp/report.html",
        "output_mask"       => "INDEX",
        "output_format"     => "html",
        "cgi_path"          => "/l3",
        "frontend_files"    => "/l3files",
        "frontend_css"      => "/l3files/l3.css",
        "l3shot_path"       => "/l3shot/",
        "l3shot_suffix"       => ".png",
        "frontend_google_ico"   => "/l3/google.ico",
        "frontend_linux_ico"    => "/l3/linux.ico",
        "frontend_freebsd_ico"  => "/l3/freebsd.ico",
        "frontend_opennet_ico"  => "/l3/opennet.ico",
        "frontend_local_ico"    => "/l3/freebsd.ico",
        "mywi_server"       => "127.0.0.1",
        "mywi_port"         => "19801",
        "stat_inactivity_interval"  =>  "1800",
        "signature"         => "#lm:",
        "from"              => "",
        "to"                => "",
        "lab"               => "",
        "keywords"          => "linux command",
        "files_keywords"    => "linux file",
        comment_width       => "300",
        note_width          => "500",
        time_width          => "6em",
        "mode"              => "daemon",        # daemon | normal
        "daemon_sleep_interval" => "10",
        "detach"            => "yes",
        "agent_pidfile"     => "$ENV{HOME}/.lilalo/l3-agent.pid",
        "backend_address"   => "xgu.ru",
        "backend_port"      => "18030",
        "backend_pidfile"   => "/tmp/l3-backend.pid",
        "backend_datafile"  => "/var/lilalo/lablogs-xml/backend.xml",
        "backend_datadir"  => "/var/lilalo/lablogs-xml/",
        "upload_dir"        => "/var/www/l3shot",
        "l3-agent"          => "l3-agent",
        "l3-backend"        => "l3-backend",
        "course-name"       => "",
        "course-code"       => "",
        "course-date"       => "",
        "course-center"     => "",
        "course-trainer"    => "",
        "course-student"    => "",
        "filter"            => "",
    #lm
        "show_host"         => "no",
        "l3cd"              => "",          # Текущий контекст перехваченных команд
                                            # Возможные варианты:
                                            #   КУРС/ДАТА-НАЧАР                 #   ДАТА-НАЧАР                          #   УНИКАЗОВАТЕÐ3-report"    => "./lm-report",
        "l3-report"         => "./l3-report",
    # Каталоги
        "path_lilalo"       => "/var/lilalo/",
        "path_classes"      => "/var/lilalo/classes/",
        "path_lablogs"      => "/var/lilalo/lablogs/",
        "courses_path"      => "/var/lilalo/courses/",
        "outpath"           => "/var/lilalo/out/",
        "path_web"          => "/var/www/l3",   # Путь к web-отчётам
        "path_share"        => "./share/",      # Путь к web-отчётам
    # Файлы
        "runfile"           => "lm.run",
        "logfile"           => "lm.log",
        "class"             => "class",         # Имя файла класса
        "class_suffix"      => ".xml",      # Cуффикс файла класса
        "classfile"         => "",
        "sshkey"            => "$ENV{HOME}/.ssh/id_dsa.pub",
        "lmssh"             => "./lm-ssh",
        "lminstall"         => "./lm-install",
        "ssh_user"          => "root",
        "l3scripts"         => "l3scripts",
        "cgi_path_info"     => "",
        "cgi2file"          => "",
        "year"              =>  "2006",
        "commands_to_show_at_a_go" => "100",
        "start_from_command" => "0",
    );
    sub read_config_file
    {
            my $config = $_[0];
            my $filename = $_[1];
            open(CONFIG, "$filename")
                    or return;
            while (<CONFIG>) {
            chomp;
                    s/#.*//;
                    next if /^\s*$/;
                    my ($var, $val) =  split /\s*=\s*/, $_, 2;
                    $var =~ s/\s*//;
                    $config->{$var} = $val;
            }
            close(CONFIG);
    }
    sub init_config
    {
            my %argv_config;
            my %file_config;
            read_config_file(\%file_config, $System_Config_File);
            read_config_file(\%file_config, $User_Config_File);
            GetOptions(\%argv_config, map "$_=s", keys %Config);
            %Config = (%Config, %file_config, %argv_config);
        for my $key (keys %Config) {
            utf8::decode($Config{$key});
        }
    }
    

    Статистика

    Время первой команды журнала12:43:31 2009- 6- 4
    Время последней команды журнала14:05:25 2009- 6- 4
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %14.85
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.78
    Количество командных строк в единицу времени, команда/мин 2.17
    Частота использования команд
    cat26|=======================| 23.01%
    dig16|==============| 14.16%
    grep12|==========| 10.62%
    vi10|========| 8.85%
    ip9|=======| 7.96%
    ping6|=====| 5.31%
    ~6|=====| 5.31%
    find6|=====| 5.31%
    ls6|=====| 5.31%
    strings4|===| 3.54%
    ps2|=| 1.77%
    дls2|=| 1.77%
    /etc/init.d/bind92|=| 1.77%
    whereis2|=| 1.77%
    cd2|=| 1.77%
    whatis2|=| 1.77%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ 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
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$