/l3/users/eb/2009/linux11/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 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 |
|
#ip rule list
0: from all lookup local 32766: from all lookup main 32767: from all lookup default |
#ip rule list
0: from all lookup local 32766: from all lookup main 32767: from all lookup default |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#~ +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 записано |
#~ +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 записано |
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9. Starting domain name service...: bind9. |
#/etc/init.d/bind9 restart
Stopping domain name service...: bind9. Starting domain name service...: bind9. |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#дls -l /etc/p
pam.conf pango/ passwd perl/ ppp/ profile pulse/ python/ pam.d/ papersize passwd- pm/ printcap protocols purple/ python2.5/ |
#ls -l /etc/pa
pam.conf pam.d/ pango/ papersize passwd passwd- |
#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 # |
#дls -l /etc/p
pam.conf pango/ passwd perl/ ppp/ profile pulse/ python/ pam.d/ papersize passwd- pm/ printcap protocols purple/ python2.5/ |
#ls -l /etc/pa
pam.conf pam.d/ pango/ papersize passwd passwd- |
#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 # |
#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 |
#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 |
#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 |
#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 |
#cat /lib/security/pam_limits.so
ELFÀ !# 404 >ÀÌ8.8>8>ØØQåtd;+"&%*( $) @D)vù=LÛ«aüQl Qcsôk·\¿ÙаeF¶¥.×É©û"]à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%ÿÿÿoV2þÿÿoèè A J 8 S 0N@ @ |
#cat /lib/security/pam_limits.so
ELFÀ !# 404 >ÀÌ8.8>8>ØØQåtd;+"&%*( $) @D)vù=LÛ«aüQl Qcsôk·\¿ÙаeF¶¥.×É©û"]à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%ÿÿÿoV2þÿÿoèè A J 8 S 0N@ @ |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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. |
#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. |
#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 |
#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 |
#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 |
#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 |
#strings /usr/local/bin/l3-agent |grep conf
use l3config; init_config; init_config(); |
#strings /usr/local/bin/l3-agent |grep conf
use l3config; init_config; init_config(); |
#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}); } } |
#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}); } } |
#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; }; }; |
#~ +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 |
#~ +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 |
#~ +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 |
#~ +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 |
default/ defoma/
# ---------------------------------------------------------------------------# # /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 #
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 - 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 - 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
#%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
ELFÀ !# 404 >ÀÌ8.8>8>ØØQåtd;+"&%*( $) @D)vù=LÛ«aüQl Qcsôk·\¿ÙаeF¶¥.×É©û"]à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øé |E8-¶²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þÿÿ}Ìaau ¹»Ëìÿÿó¦ÇEÜ ÂÀ8Â'þÿÿu ¹ »Ñìÿÿó¦ÇEÜ ÂÀ8Âþÿÿu ¹ »Üìÿÿó¦ÇEÜ ÂÀ8ÂÝýÿÿu ÂÀ8¸ýÿÿu ¹»åìÿÿó¦ÇEÜ ¹»êìÿÿó¦ÇEÜÂÀ8Âýÿÿu ¹ »ñìÿÿó¦ ¿UÇEÜÇB tv}Üftn}ÜfEðÇ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Üèø}ÜquEÐ;yüÿÿVénüÿÿ´&¹»5íÿÿó¦ÇEàÂÀ8ÂÓûÿÿ:-uÇEàzºûÿÿfEÜÇEàèø¢ûÿÿ:íÿÿDÇD$L$ uÔ4$èøÿÿéèûÿÿÿÿÿD$UØîÿÿT$M L$D$ ¨êÿÿDÇD$t$EÔ$è¹÷ÿÿéÍúÿÿt&x1ux¶NûÿÿfUz (ûÿÿºÿÿÿÿ¾ÿÿÿÿ¿ÿÿÿÿé9ûÿÿ¶öÄ ÿ¨þÿÿð!øÀt.ÿDDD*fr þCDDD¸<÷ækÏ<Æ<vöEàt(kEÜEMÐ;´óúÿÿ°¼¸À´öEà×úÿÿkEÜEUÐ;¸Áúÿÿ°Ä¸È¸éªúÿÿvÇDUT$EÀ$è³öÿÿé úÿÿ¶1ÒéTúÿÿôêÿÿÇé t $ »ûìÿÿó¦uMÇEÜÇA ¹ éøÿÿu ¹ íÿÿó¦ÇEÜÂÀ8Âqøÿÿu ¹»íÿÿó¦ÇEÜÂÀ8ÂLøÿÿu íÿÿDÇD$t$ EÔ$èÕôÿÿé·øÿÿUåWVSì\ Üëÿÿè÷ÿÿÃ2)Øëÿÿà àëÿÿt5U T! ÀSD$ íÿÿDÇD$Üëÿÿ $èjôÿÿE T! ÒØíÿÿD$$èôÿÿ À èëÿÿ¹U ôûÿÿÄëÿÿíÿÿ¥íÿÿ ÀëÿÿÂ\!äëÿÿÖíÿÿ¼ëÿÿ¸ëÿÿf èëÿÿÇD$DÄëÿÿ$èøóÿÿ Àø¶µôûÿÿÄëÿÿðÀÏðëÿÿt3èPôÿÿ½Äëÿÿë¶Ç¶7ðÀt ñ¾ÁöDB uè½ðëÿÿÇD$# ðëÿÿ$è\óÿÿ ÀtÆÇD$ ðëÿÿ$è?óÿÿ ÀtÆðëÿÿ9Aÿÿÿ ôëÿÿ1ö ÈëÿÿôïÿÿÆ ôëÿÿôóÿÿÆ ôïÿÿÆ ôóÿÿÆ ô÷ÿÿD$ ô÷ÿÿÔëÿÿT$ÐëÿÿL$ ½ôóÿÿ-Õ|$ ÌëÿÿDÀëÿÿ<$T$èiôÿÿ ìëÿÿëëÿÿ¾11ÆÐëÿÿÁÿþþþ÷Ð!Ââté÷ÂuÁêÁÒÙ+Ðëÿÿ9Îr¬1ö½ìëÿÿt[½ìëÿÿu ¼ëÿÿÇD$TÜëÿÿ $è'òÿÿé*þÿÿfèóÿÿÔëÿÿ¾11ÆÔëÿÿÁÿþþþ÷Ð!Ââté÷ÂuÁêÁÒÙ+Ôëÿÿ9Îr¬1öëè3óÿÿÈëÿÿ¾11ÆÈëÿÿÁÿþþþ÷Ð!Ââ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! ÀCD$ ëÿÇ [ L Ç u D $ L Ç Ç ½Úÿÿó¦ ,Úÿÿé"ÿÿÿvT$$èyìÿÿ À (Úÿÿ³´Ç pÚÿÿ Àxè.ëÿÿ úÿÿXÚÿÿÏÇ \ÚÿÿÇ LÚÿÿ DÚÿÿë)t&ÇGǽLÚÿÿæ LÚÿÿǵLÚÿÿÚÿÿîµ ÚÿÿðÁà+ Úÿÿ4$¼D$èìÿÿÀHþ ÇÇGÇ{ÿÿÿµ Úÿÿ3¤îÿÿØÿàfµôÙÿÿ¹ ½Úÿÿó¦ #,ÚÿÿéúýÿÿvÇ |ûÿÿ Ç ûÿÿÇ ûÿÿ Ç ûÿÿé.ÿÿÿvÇ `ûÿÿþ?Ç dûÿÿÇ hûÿÿþ?Ç lûÿÿéþþÿÿv´ÂÁú ûÿÿûÿÿ ûÿÿûÿÿéÓþÿÿÇ ðúÿÿÇ ôúÿÿÇ øúÿÿÇ üúÿÿé¦þÿÿvÇ úÿÿÇ úÿÿÇ ¤úÿÿÿÿÿÿÇ ¨úÿÿÿÿÿÿévþÿÿvÇ úÿÿÇ Ç Úÿÿ»ìëÿÿÇ 4ÚÿÿÇ `Úÿÿ½ Úÿÿét&XÚÿÿA9AQrw9Q v µXÚÿÿV Fk 4Úÿÿ½Úÿÿ¼D$ 4Úÿÿ$èçÿÿ À 0Úÿÿ½4Úÿÿu ðúÿÿ# ôúÿÿÀtmDÚÿÿ:è¹éÿÿÆèÂèÿÿXÚÿÿt$$D$ AQD$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ÚÿÿÇ9IûÿÿÇ \Úÿÿé:ûÿÿµôÙÿÿ½üÙÿÿó¦ É,Úÿé¾ùÿÿ À-ýÿÿÇ tÚÿÿþÿÿÿÇ xÚÿÿÆ Úÿÿ/îÿÿ¾DÇD$$èæÿÿéúÿÿÇ$èÏåÿÿ=ÿÿ´kúÿÿÇ´é\úÿÿÇ pÚÿÿéêüÿÿ½Úÿÿ<$÷èçÿÿ Äûÿÿ À¦D$ ÀëÿÿþDÇD$$èåÿÿéùÿÿ½DÚÿÿ? ?þÿÿvéCþÿÿ Úÿÿ¾ÇD$Ç$Dèàåÿÿ Àu`Úÿÿ ÒÀ¶ð PÚÿÿ À\tÚÿÿú8ÚÿÿEö ,Úÿÿ ÒèÉæÿÿ ,ÚÿÿÌûÿÿÚÿÿÁèðà <Úÿÿèæÿÿ ÀÇf?uë,´&tÞ |Úÿÿ Àu+xÚÿÿù@ÚÿÿÇù¾ Ç Ç ÇÚ L Ç 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%ÿÿÿoV2þÿÿoèè A J 8 S 0N@ @
"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 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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