/l3/users/igor/ldap-setup/ldap.liag.org.ua/root :1 :2 :3 |
|
#df
Файловая система 1K-блоков Исп Доступно Исп% смонтирована на /dev/hda1 2064208 524520 1434832 27% / tmpfs 65608 0 65608 0% /lib/init/rw udev 10240 20 10220 1% /dev |
#w
05:34:11 up 146 days, 23:52, 1 user, load average: 0,19, 0,05, 0,01 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty1 - 05:33 0.00s 0.00s 0.00s /bin/login -- |
#apt-get install mc
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Будут установлены следующие дополнительные пакеты: libglib2.0-0 libgpmg1 Предлагаемые пакеты: gpm mime-support zip unzip bzip2 links w3m lynx arj Рекомендуемые пакеты: libglib2.0-data НОВЫЕ пакеты, которые будут установлены: libglib2.0-0 libgpmg1 mc обновлено 0, установлено 3 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 2693kБ архивов. После распаковки объем занятого дискового пространства возрастёт на 6746kB. Хотите продолжить [Д/н]? y 0% [Соединение с debian.osdn.org.ua] |
#ping itc.ua
|
#arp -a
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21316689 errors:0 dropped:0 overruns:0 frame:0 TX packets:19683571 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13677489 (13.0 MiB) TX bytes:12652 (12.3 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:85258 errors:0 dropped:0 overruns:0 frame:0 TX packets:85258 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11127403 (10.6 MiB) TX bytes:11127403 (10.6 MiB) |
#ping 192.168.4.250
PING 192.168.4.250 (192.168.4.250) 56(84) bytes of data. --- 192.168.4.250 ping statistics --- 0 packets transmitted, 0 received |
#arp -a
|
#nano /var/log/messages
|
#nano /var/log/syslog
|
#tail -f /var/log/syslog
Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=2 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixGroup)(|(memberUid=root)(uniqueMember=uid=root,ou=users,dc=liag,dc=org,dc=ua)))" Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=2 SRCH attr=gidNumber Sep 10 05:33:51 ldap slapd[1111]: <= bdb_equality_candidates: (memberUid) index_param failed (18) Sep 10 05:33:51 ldap slapd[1111]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=2 ENTRY dn="cn=domain admins,ou=groups,dc=liag,dc=org,dc=ua" Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text= Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=3 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixGroup)(uniqueMember=cn=domain admins,ou=groups,dc=liag,dc=org,dc=ua))" Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=3 SRCH attr=gidNumber Sep 10 05:33:51 ldap slapd[1111]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) Sep 10 05:33:51 ldap slapd[1111]: conn=1310373 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= |
#df
Файловая система 1K-блоков Исп Доступно Исп% смонтирована на /dev/hda1 2064208 527996 1431356 27% / tmpfs 65608 0 65608 0% /lib/init/rw udev 10240 20 10220 1% /dev |
#reboot
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:448 errors:0 dropped:0 overruns:0 frame:0 TX packets:68 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:82513 (80.5 KiB) TX bytes:21227 (20.7 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:31 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3211 (3.1 KiB) TX bytes:3211 (3.1 KiB) |
#tail -f /var/log/messages
Sep 10 05:47:31 ldap kernel: md: raid1 personality registered for level 1 Sep 10 05:47:31 ldap kernel: md: md0 stopped. Sep 10 05:47:31 ldap kernel: kjournald starting. Commit interval 5 seconds Sep 10 05:47:31 ldap kernel: EXT3-fs: mounted filesystem with ordered data mode. Sep 10 05:47:31 ldap kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled Sep 10 05:47:31 ldap kernel: EXT3 FS on hda1, internal journal Sep 10 05:47:31 ldap kernel: device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Sep 10 05:47:31 ldap kernel: NET: Registered protocol family 10 Sep 10 05:47:31 ldap kernel: lo: Disabled Privacy Extensions Sep 10 05:47:31 ldap kernel: IPv6 over IPv4 tunneling driver |
#tail -f /var/log/syslog
Sep 10 05:48:14 ldap slapd[1111]: conn=8 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" method=128 Sep 10 05:48:14 ldap slapd[1111]: conn=8 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" mech=SIMPLE ssf=0 Sep 10 05:48:14 ldap slapd[1111]: conn=8 op=3 RESULT tag=97 err=0 text= Sep 10 05:48:14 ldap slapd[1111]: conn=8 op=4 UNBIND Sep 10 05:48:14 ldap slapd[1111]: conn=8 fd=19 closed Sep 10 05:48:14 ldap slapd[1111]: conn=7 op=2 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=oksana_skakun))" Sep 10 05:48:14 ldap slapd[1111]: conn=7 op=2 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Sep 10 05:48:14 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Sep 10 05:48:14 ldap slapd[1111]: conn=7 op=2 ENTRY dn="uid=oksana_skakun,ou=users,dc=liag,dc=org,dc=ua" Sep 10 05:48:14 ldap slapd[1111]: conn=7 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text= ... Sep 10 05:50:47 ldap slapd[1111]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) Sep 10 05:50:47 ldap slapd[1111]: conn=11 op=2 ENTRY dn="cn=domain admins,ou=groups,dc=liag,dc=org,dc=ua" Sep 10 05:50:47 ldap slapd[1111]: conn=11 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text= Sep 10 05:50:47 ldap slapd[1111]: conn=11 op=3 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixGroup)(uniqueMember=cn=domain admins,ou=groups,dc=liag,dc=org,dc=ua))" Sep 10 05:50:47 ldap slapd[1111]: conn=11 op=3 SRCH attr=gidNumber Sep 10 05:50:47 ldap slapd[1111]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) Sep 10 05:50:47 ldap slapd[1111]: conn=11 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Sep 10 05:50:47 ldap slapd[1111]: conn=10 op=4 UNBIND Sep 10 05:50:47 ldap slapd[1111]: conn=10 fd=19 closed Sep 10 05:50:47 ldap slapd[1111]: conn=11 fd=20 closed (connection lost) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:506 errors:0 dropped:0 overruns:0 frame:0 TX packets:110 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:87855 (85.7 KiB) TX bytes:30343 (29.6 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:31 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3211 (3.1 KiB) TX bytes:3211 (3.1 KiB) |
#mc
|
#ping samba.liag.org.ua
PING samba.liag.org.ua (194.150.93.88) 56(84) bytes of data. 64 bytes from samba.liag.org.ua (194.150.93.88): icmp_seq=1 ttl=64 time=0.174 ms --- samba.liag.org.ua ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.174/0.174/0.174/0.000 ms |
#nano /etc/resolv.conf
|
#ps aux | grep slapd
openldap 1111 0.0 3.3 43724 4456 ? Ssl 05:47 0:00 /usr/sbin/slapd -g openldap -u openldap root 1289 0.0 0.5 3756 752 ttyp0 S+ 05:52 0:00 grep slapd |
#tail -f /var/log/
auth.log debug.1.gz kern.log syslog auth.log.0 debug.2.gz kern.log.0 syslog.0 auth.log.1.gz debug.3.gz kern.log.1.gz syslog.1.gz auth.log.2.gz debug.4.gz kern.log.2.gz syslog.2.gz auth.log.3.gz debug.5.gz kern.log.3.gz syslog.3.gz auth.log.4.gz debug.6.gz lastlog syslog.4.gz boot dmesg lpr.log syslog.5.gz bootstrap.log dmesg.0 mail.err syslog.6.gz btmp dmesg.1.gz mail.info user.log btmp.1 dmesg.2.gz mail.log user.log.0 daemon.log dmesg.3.gz mail.warn user.log.1.gz daemon.log.0 dmesg.4.gz messages uucp.log daemon.log.1.gz dpkg.log messages.0 wtmp daemon.log.2.gz dpkg.log.1 messages.1.gz wtmp.1 daemon.log.3.gz dpkg.log.2.gz messages.2.gz debug faillog messages.3.gz debug.0 fsck/ news/ |
#tail -f /var/log/daemon.log
Sep 10 05:44:28 ldap init: Switching to runlevel: 6 Sep 10 05:44:29 ldap snmpd[1128]: Received TERM or STOP signal... shutting down... Sep 10 05:47:34 ldap snmpd[1129]: cache has existing timer id. Sep 10 05:47:34 ldap snmpd[1129]: NET-SNMP version 5.2.3 |
#ifconfig
bash: ifconfigtail: command not found |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:669 errors:0 dropped:0 overruns:0 frame:0 TX packets:270 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:102536 (100.1 KiB) TX bytes:61640 (60.1 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:31 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3211 (3.1 KiB) TX bytes:3211 (3.1 KiB) |
#nano /var/log/daemon.log
|
#ps aux | grep slapd
openldap 1111 0.0 3.3 43724 4456 ? Ssl 05:47 0:00 /usr/sbin/slapd -g openldap -u openldap root 1333 0.0 0.5 3756 752 ttyp0 S+ 05:59 0:00 grep slapd |
#tail -f /var/log/syslog
Sep 10 05:59:49 ldap slapd[1111]: conn=27 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" method=128 Sep 10 05:59:49 ldap slapd[1111]: conn=27 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" mech=SIMPLE ssf=0 Sep 10 05:59:49 ldap slapd[1111]: conn=27 op=3 RESULT tag=97 err=0 text= Sep 10 05:59:49 ldap slapd[1111]: conn=27 op=4 UNBIND Sep 10 05:59:49 ldap slapd[1111]: conn=27 fd=19 closed Sep 10 05:59:49 ldap slapd[1111]: conn=7 op=6 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=pivtorak))" Sep 10 05:59:49 ldap slapd[1111]: conn=7 op=6 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Sep 10 05:59:49 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Sep 10 05:59:49 ldap slapd[1111]: conn=7 op=6 ENTRY dn="uid=pivtorak,ou=users,dc=liag,dc=org,dc=ua" Sep 10 05:59:49 ldap slapd[1111]: conn=7 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text= |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:897 errors:0 dropped:0 overruns:0 frame:0 TX packets:436 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:124291 (121.3 KiB) TX bytes:97474 (95.1 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:31 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3211 (3.1 KiB) TX bytes:3211 (3.1 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:194.150.93.85 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:4c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:920 errors:0 dropped:0 overruns:0 frame:0 TX packets:457 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:126229 (123.2 KiB) TX bytes:101791 (99.4 KiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:04:C1 inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:31 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3211 (3.1 KiB) TX bytes:3211 (3.1 KiB) |
#tail -f /var/log/daemon.log
Sep 10 05:44:28 ldap init: Switching to runlevel: 6 Sep 10 05:44:29 ldap snmpd[1128]: Received TERM or STOP signal... shutting down... Sep 10 05:47:34 ldap snmpd[1129]: cache has existing timer id. Sep 10 05:47:34 ldap snmpd[1129]: NET-SNMP version 5.2.3 /etc/iit.d/ |
#cd /etc/init.d
|
#ls
bootclean killprocs networking skeleton bootlogd klogd openbsd-inetd slapd bootmisc.sh libdevmapper1.02 procps.sh snmpd checkfs.sh makedev rc ssh checkroot.sh module-init-tools rc.local stop-bootlogd cron mountall-bootclean.sh rcS stop-bootlogd-single glibc.sh mountall.sh README sysklogd halt mountdevsubfs.sh reboot umountfs hostname.sh mountkernfs.sh rmnologin umountnfs.sh hwclock.sh mountnfs-bootclean.sh rsync umountroot ifupdown mountnfs.sh sendsigs urandom ifupdown-clean mtab.sh single |
#./slapd restart
Stopping OpenLDAP: slapd. Starting OpenLDAP: slapd. |
#cd
|
#tail /var/log/messages
Sep 10 05:47:31 ldap kernel: md: raid1 personality registered for level 1 Sep 10 05:47:31 ldap kernel: md: md0 stopped. Sep 10 05:47:31 ldap kernel: kjournald starting. Commit interval 5 seconds Sep 10 05:47:31 ldap kernel: EXT3-fs: mounted filesystem with ordered data mode. Sep 10 05:47:31 ldap kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled Sep 10 05:47:31 ldap kernel: EXT3 FS on hda1, internal journal Sep 10 05:47:31 ldap kernel: device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Sep 10 05:47:31 ldap kernel: NET: Registered protocol family 10 Sep 10 05:47:31 ldap kernel: lo: Disabled Privacy Extensions Sep 10 05:47:31 ldap kernel: IPv6 over IPv4 tunneling driver |
#tail /var/log/syslog
Sep 10 06:03:16 ldap slapd[1392]: conn=6 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" method=128 Sep 10 06:03:16 ldap slapd[1392]: conn=6 op=3 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" mech=SIMPLE ssf=0 Sep 10 06:03:16 ldap slapd[1392]: conn=6 op=3 RESULT tag=97 err=0 text= Sep 10 06:03:16 ldap slapd[1392]: conn=6 op=4 UNBIND Sep 10 06:03:16 ldap slapd[1392]: conn=6 fd=17 closed Sep 10 06:03:16 ldap slapd[1392]: conn=5 op=2 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=nevmeru))" Sep 10 06:03:16 ldap slapd[1392]: conn=5 op=2 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Sep 10 06:03:16 ldap slapd[1392]: <= bdb_equality_candidates: (uid) index_param failed (18) Sep 10 06:03:16 ldap slapd[1392]: conn=5 op=2 ENTRY dn="uid=nevmeru,ou=users,dc=liag,dc=org,dc=ua" Sep 10 06:03:16 ldap slapd[1392]: conn=5 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text= |
#close
bash: close: command not found |
#nano history
|
#ls
|
#ls
|
#cd
|
#ls
|
#ssh root@gw.liag.org.ua -p 22222
The authenticity of host 'gw.liag.org.ua (194.150.93.83)' can't be established. RSA key fingerprint is d5:9a:6b:cb:16:c7:0a:98:3e:9f:24:1e:f4:b8:0b:41. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'gw.liag.org.ua,194.150.93.83' (RSA) to the list of known hosts. root@gw.liag.org.ua's password: l3-agent is already running: pid=1215; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@samba.liag.org.ua -p 22222
The authenticity of host 'samba.liag.org.ua (194.150.93.88)' can't be established. RSA key fingerprint is d5:9a:6b:cb:16:c7:0a:98:3e:9f:24:1e:f4:b8:0b:41. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'samba.liag.org.ua,194.150.93.88' (RSA) to the list of known hosts. root@samba.liag.org.ua's password: Last login: Thu Sep 10 06:04:05 2009 from 192.168.4.135 l3-agent is already running: pid=1582; pidfile=/root/.lilalo/l3-agent.pid |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:02:C1 inet addr:194.150.93.16 Bcast:194.150.93.63 Mask:255.255.255.192 inet6 addr: 2002:c296:5d32:4:216:3eff:fe01:2c1/64 Scope:Global inet6 addr: fec0::4:216:3eff:fe01:2c1/64 Scope:Site inet6 addr: fe80::216:3eff:fe01:2c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:647821172 errors:0 dropped:0 overruns:0 frame:0 TX packets:466684247 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2991394529 (2.7 GiB) TX bytes:1130450736 (1.0 GiB) ... inet addr:194.150.93.83 Bcast:194.150.93.95 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:408 errors:0 dropped:0 overruns:0 frame:0 TX packets:408 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:29484 (28.7 KiB) TX bytes:29484 (28.7 KiB) |
#exit
exit Connection to gw.liag.org.ua closed. |
#df -h
Файловая система Разм Исп Дост Исп% смонтирована на /dev/hda1 2,0G 1,5G 458M 77% / tmpfs 129M 0 129M 0% /lib/init/rw udev 10M 24K 10M 1% /dev /dev/hda2 99G 76G 19G 81% /home |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994477 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036249 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264837691 (252.5 MiB) TX bytes:1623538064 (1.5 GiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:192.168.3.8 Bcast:192.168.3.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:1376417989 (1.2 GiB) TX bytes:2186820873 (2.0 GiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:377830 errors:0 dropped:0 overruns:0 frame:0 TX packets:377830 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36228277 (34.5 MiB) TX bytes:36228277 (34.5 MiB) |
#ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994572 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036334 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264845910 (252.5 MiB) TX bytes:1623555831 (1.5 GiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994609 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036364 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264850215 (252.5 MiB) TX bytes:1623560230 (1.5 GiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:192.168.3.8 Bcast:192.168.3.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:1376420703 (1.2 GiB) TX bytes:2186825029 (2.0 GiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:377830 errors:0 dropped:0 overruns:0 frame:0 TX packets:377830 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36228277 (34.5 MiB) TX bytes:36228277 (34.5 MiB) |
#ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:16:3E:01:07:C2 inet6 addr: fe80::216:3eff:fe01:7c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:191064898 errors:0 dropped:0 overruns:0 frame:0 TX packets:169771457 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1255737865 (1.1 GiB) TX bytes:2342244081 (2.1 GiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994767 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036459 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264862227 (252.5 MiB) TX bytes:1623583217 (1.5 GiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:192.168.3.8 Bcast:192.168.3.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:1376421646 (1.2 GiB) TX bytes:2186837319 (2.0 GiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:377830 errors:0 dropped:0 overruns:0 frame:0 TX packets:377830 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36228277 (34.5 MiB) TX bytes:36228277 (34.5 MiB) |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 194.150.93.80 0.0.0.0 255.255.255.240 U 0 0 0 eth0 192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.4090 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.4091 192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.4092 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 194.150.93.83 0.0.0.0 UG 0 0 0 eth0 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994905 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036563 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264872587 (252.6 MiB) TX bytes:1623607154 (1.5 GiB) eth0:0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:192.168.3.8 Bcast:192.168.3.255 Mask:255.255.255.0 ... collisions:0 txqueuelen:0 RX bytes:1376427920 (1.2 GiB) TX bytes:2186846542 (2.0 GiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:377830 errors:0 dropped:0 overruns:0 frame:0 TX packets:377830 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36228277 (34.5 MiB) TX bytes:36228277 (34.5 MiB) |
#ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:16:3E:01:07:C1 inet addr:194.150.93.88 Bcast:194.150.93.95 Mask:255.255.255.240 inet6 addr: fe80::216:3eff:fe01:7c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46994980 errors:0 dropped:0 overruns:0 frame:0 TX packets:13036630 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:264877925 (252.6 MiB) TX bytes:1623619224 (1.5 GiB) |
#ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:16:3E:01:07:C2 inet6 addr: fe80::216:3eff:fe01:7c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:191065548 errors:0 dropped:0 overruns:0 frame:0 TX packets:169771551 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1255796317 (1.1 GiB) TX bytes:2342264162 (2.1 GiB) |
#ifconfig | less
|
#arp -a
? (192.168.4.8) at 00:16:17:79:F1:74 [ether] on eth1.4092 ldap.liag.org.ua (194.150.93.85) at 00:16:3E:01:04:C1 [ether] on eth0 ? (192.168.4.10) at 00:1A:92:E7:89:77 [ether] on eth1.4092 ? (192.168.4.250) at 00:0B:CD:F0:44:8E [ether] on eth1.4092 proxy.liag.org.ua (194.150.93.87) at 00:16:3E:01:06:C1 [ether] on eth0 ? (192.168.4.130) at 00:13:D4:BF:9F:59 [ether] on eth1.4092 ? (192.168.3.2) at 00:16:3E:01:01:C1 [ether] on eth0 ? (192.168.4.5) at 00:19:E0:0E:48:AC [ether] on eth1.4092 ? (192.168.4.2) at 00:17:31:7D:F2:98 [ether] on eth1.4092 gw.liag.org.ua (194.150.93.83) at 00:16:3E:01:02:C2 [ether] on eth0 ? (192.168.4.132) at 00:1D:60:45:49:88 [ether] on eth1.4092 igw.liag.org.ua (194.150.93.84) at 00:16:3E:01:03:C1 [ether] on eth0 igw.liag.org.ua (194.150.93.84) at 00:16:3E:01:03:C1 [ether] on eth0 ? (192.168.4.1) at 00:18:F3:B2:A3:DA [ether] on eth1.4092 ? (192.168.4.11) at 00:19:E0:0E:8F:B5 [ether] on eth1.4092 ? (192.168.4.40) at 00:69:00:03:00:3E [ether] on eth1.4092 ? (192.168.4.135) at 00:1B:FC:94:D9:A5 [ether] on eth1.4092 |
#/etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#exit
exit Connection to samba.liag.org.ua closed. |
#ping samba.liag.org.ua
PING samba.liag.org.ua (194.150.93.88) 56(84) bytes of data. From 194.150.93.85 icmp_seq=1 Destination Host Unreachable From 194.150.93.85 icmp_seq=2 Destination Host Unreachable From 194.150.93.85 icmp_seq=3 Destination Host Unreachable --- samba.liag.org.ua ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2008ms , pipe 3 |
#ping samba.liag.org.ua
PING samba.liag.org.ua (194.150.93.88) 56(84) bytes of data. 64 bytes from 194.150.93.88: icmp_seq=1 ttl=64 time=0.189 ms 64 bytes from 194.150.93.88: icmp_seq=2 ttl=64 time=0.162 ms --- samba.liag.org.ua ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 10364ms rtt min/avg/max/mdev = 0.162/0.175/0.189/0.018 ms |
#passwd root
Enter new UNIX password: Retype new UNIX password: passwd: пароль успешно обновлён |
#passwd root
Enter new UNIX password: Retype new UNIX password: passwd: пароль успешно обновлён |
#apt-get install ldapphpadmin
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово E: Не могу найти пакет ldapphpadmin |
#apt-get install ldapphpadmin
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово E: Не могу найти пакет ldapphpadmin |
#apt-get update
Ign http://debian.osdn.org.ua etch Release.gpg Ign http://debian.osdn.org.ua etch Release Ign http://debian.osdn.org.ua etch/main Packages/DiffIndex Err http://debian.osdn.org.ua etch/main Packages 404 Not Found Не удалось загрузить http://debian.osdn.org.ua/debian/dists/etch/main/binary-i386/Packages.gz 404 Not Found Чтение списков пакетов... Готово E: Некоторые индексные файлы не загрузились, они были проигнорированы или вместо них были использованы старые версии |
#ping ya.ru
PING ya.ru (77.88.21.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (77.88.21.3): icmp_seq=1 ttl=55 time=27.1 ms 64 bytes from www.yandex.ru (77.88.21.3): icmp_seq=2 ttl=55 time=27.1 ms --- ya.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 27.104/27.126/27.149/0.166 ms |
#vim /etc/apt/sources.list
1c1 < deb http://debian.osdn.org.ua/debian etch main --- > deb http://ftp.ua.debian.org/debian etch main |
#apt-get update
Ign http://ftp.ua.debian.org etch Release.gpg Ign http://ftp.ua.debian.org etch Release Err http://ftp.ua.debian.org etch/main Packages 404 Not Found Не удалось загрузить http://ftp.ua.debian.org/debian/dists/etch/main/binary-i386/Packages.gz 404 Not Found Чтение списков пакетов... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Некоторые индексные файлы не загрузились, они были проигнорированы или вместо них были использованы старые версии |
#vim /etc/apt/sources.list
1c1 < deb http://ftp.ua.debian.org/debian etch main --- > deb http://ftp.ua.debian.org/debian squeeze main |
#apt-get update
Получено:1 http://ftp.ua.debian.org squeeze Release.gpg [835B] Получено:2 http://ftp.ua.debian.org squeeze Release [89,5kB] Ign http://ftp.ua.debian.org squeeze Release Получено:3 http://ftp.ua.debian.org squeeze/main Packages [8670kB] Получено 8760kB за 2s (3529kB/c) Чтение списков пакетов... Готово W: GPG error: http://ftp.ua.debian.org squeeze Release: Следующие подписи не могут быть проверены, так как недоступен общий ключ: NO_PUBKEY 9AA38DCD55BE302B W: Вы можете запустить 'apt-get update' для исправления этих ошибок |
#vim /etc/apt/sources.list
1c1 < deb http://ftp.ua.debian.org/debian squeeze main --- > deb http://ftp.ua.debian.org/debian etch main |
#apt-get update
Ign http://ftp.ua.debian.org etch Release.gpg Ign http://ftp.ua.debian.org etch Release Err http://ftp.ua.debian.org etch/main Packages 404 Not Found Не удалось загрузить http://ftp.ua.debian.org/debian/dists/etch/main/binary-i386/Packages.gz 404 Not Found Чтение списков пакетов... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Некоторые индексные файлы не загрузились, они были проигнорированы или вместо них были использованы старые версии |
#ls
auth.log daemon.log.3.gz dmesg.4.gz mail.info syslog.4.gz auth.log.0 debug dpkg.log mail.log syslog.5.gz auth.log.1.gz debug.0 dpkg.log.1 mail.warn syslog.6.gz auth.log.2.gz debug.1.gz dpkg.log.2.gz messages user.log auth.log.3.gz debug.2.gz faillog messages.0 user.log.0 auth.log.4.gz debug.3.gz fsck messages.1.gz user.log.1.gz boot debug.4.gz kern.log messages.2.gz user.log.2.gz bootstrap.log debug.5.gz kern.log.0 messages.3.gz uucp.log btmp debug.6.gz kern.log.1.gz news wtmp btmp.1 dmesg kern.log.2.gz syslog wtmp.1 daemon.log dmesg.0 kern.log.3.gz syslog.0 daemon.log.0 dmesg.1.gz lastlog syslog.1.gz daemon.log.1.gz dmesg.2.gz lpr.log syslog.2.gz daemon.log.2.gz dmesg.3.gz mail.err syslog.3.gz |
#mc
|
#cat messages
Aug 4 09:55:28 ldap kernel: EXT3-fs: INFO: recovery required on readonly filesystem. Aug 4 09:55:28 ldap kernel: EXT3-fs: write access will be enabled during recovery. Aug 4 09:55:28 ldap kernel: kjournald starting. Commit interval 5 seconds Aug 4 09:55:28 ldap kernel: EXT3-fs: recovery complete. Aug 4 09:55:28 ldap kernel: EXT3-fs: mounted filesystem with ordered data mode. Aug 4 09:55:28 ldap kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled Aug 4 09:55:28 ldap kernel: EXT3 FS on hda1, internal journal Aug 4 09:55:28 ldap kernel: device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Aug 4 09:55:29 ldap kernel: NET: Registered protocol family 10 Aug 4 09:55:29 ldap kernel: lo: Disabled Privacy Extensions ... Aug 6 04:37:17 ldap -- MARK -- Aug 6 04:57:17 ldap -- MARK -- Aug 6 05:17:17 ldap -- MARK -- Aug 6 05:37:17 ldap -- MARK -- Aug 6 05:57:17 ldap -- MARK -- Aug 6 06:17:17 ldap -- MARK -- Aug 6 06:25:08 ldap syslogd 1.4.1#18: restart. Aug 6 06:37:17 ldap -- MARK -- Aug 6 06:57:17 ldap -- MARK -- Aug 6 07:17:17 ldap -- MARK -- |
#ls
auth.log daemon.log.3.gz dmesg.4.gz mail.info syslog.4.gz auth.log.0 debug dpkg.log mail.log syslog.5.gz auth.log.1.gz debug.0 dpkg.log.1 mail.warn syslog.6.gz auth.log.2.gz debug.1.gz dpkg.log.2.gz messages user.log auth.log.3.gz debug.2.gz faillog messages.0 user.log.0 auth.log.4.gz debug.3.gz fsck messages.1.gz user.log.1.gz boot debug.4.gz kern.log messages.2.gz user.log.2.gz bootstrap.log debug.5.gz kern.log.0 messages.3.gz uucp.log btmp debug.6.gz kern.log.1.gz news wtmp btmp.1 dmesg kern.log.2.gz syslog wtmp.1 daemon.log dmesg.0 kern.log.3.gz syslog.0 daemon.log.0 dmesg.1.gz lastlog syslog.1.gz daemon.log.1.gz dmesg.2.gz lpr.log syslog.2.gz daemon.log.2.gz dmesg.3.gz mail.err syslog.3.gz |
#cat faillog
|
#aptget install mc
bash: aptget: command not found |
#apt-get install mc
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Не могу найти пакет mctget |
#ps ax
PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init [2] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S< 0:00 [events/0] 5 ? S< 0:00 [khelper] 6 ? S< 0:00 [kthread] 7 ? S< 0:00 [xenwatch] 8 ? S< 0:00 [xenbus] 14 ? S< 0:00 [kblockd/0] ... 1175 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1176 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1177 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1178 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1179 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 1582 tty1 S+ 0:00 script -f -q /root/.lilalo//3969293912283914438-12810 1586 ? Ss 0:00 l3-agent 1617 tty1 S+ 0:00 script -f -q /root/.lilalo//3969293912283914438-12810 1618 ttyp0 Ss 0:00 bash -i 1684 ttyp0 R+ 0:00 ps ax |
#cd /root/
|
#ls
|
#cd /root/.lilalo/
|
#ls
117982563198799292-1192851362.info 117982563198799292-1192851362.script 1272045652034918410-1192960297.info 1272045652034918410-1192960297.script 12778190322662817943-1252560832_1252561018_var_log_messages.diff 12778190322662817943-1252560832_1252561060_var_log_syslog.diff 12778190322662817943-1252560832.info 12778190322662817943-1252560832.script 13998218712016230048-1192834435.info 13998218712016230048-1192834435.script ... 826032765306786448-1192889931.info 826032765306786448-1192889931.script 8473143586223715-1193410197.info 8473143586223715-1193410197.script 871422453684721249-1192851492.info 871422453684721249-1192851492.script 955622973426426882-1197547307.info 955622973426426882-1197547307.script l3-agent.pid l3bashrc |
#cat 955622973426426882-1197547307.script
|
#cat 955622973426426882-1197547307.info
<login_from></login_from> <tty>/dev/ttyp0</tty> <system>Linux 2.6.18-5-xen-686</system> <parent>sshd: root@ttyp0</parent> <ppid>11416</ppid> <pid>11418</pid> <start_time>1197547307</start_time> <lang>ru_UA.UTF-8</lang> </session> <cline> ... 127 /etc/init.d/slapd restart 128 less /var/log/debug 129 tail -f /var/log/debug 130 vi /etc/ldap/slapd.conf 131 tail -f /var/log/debug 132 ping 192.168.4.254 133 ping 192.168.5.254 134 ping 192.168.6.254 135 touch .hushlogin </history> |
#cat /var/log/debug
Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=3 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectCl Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=5 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass ... Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=0 RESULT tag=97 err=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=admin))" Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 ENTRY dn="uid=admin,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" |
#ls
117982563198799292-1192851362.info 117982563198799292-1192851362.script 1272045652034918410-1192960297.info 1272045652034918410-1192960297.script 12778190322662817943-1252560832_1252561018_var_log_messages.diff 12778190322662817943-1252560832_1252561060_var_log_syslog.diff 12778190322662817943-1252560832.info 12778190322662817943-1252560832.script 13998218712016230048-1192834435.info 13998218712016230048-1192834435.script ... 826032765306786448-1192889931.info 826032765306786448-1192889931.script 8473143586223715-1193410197.info 8473143586223715-1193410197.script 871422453684721249-1192851492.info 871422453684721249-1192851492.script 955622973426426882-1197547307.info 955622973426426882-1197547307.script l3-agent.pid l3bashrc |
#cat 871422453684721249-1192851492.info
<cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> ... 91 slapcat 92 apt-get install libpam-ldap 93 vi /etc/libnss-ldap.conf 94 vi /etc/nsswitch.conf 95 getent passwd 96 vi /etc/nsswitch.conf 97 vi /etc/libnss-ldap.conf 98 getent passwd 99 vi /etc/network/interfaces </history> |
#apt-get install mc
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Не могу найти пакет mc |
#dpkg-reconfigure locales
â ÑабоÑаеÑе в многополÑзоваÑелÑÑкой ÑÑеде, где не вÑе полÑзоваÑели говоÑÑÑ â â на вÑбÑанном вами ÑзÑке, Ñо Ñ Ð½Ð¸Ñ Ð¼Ð¾Ð³ÑÑ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ½ÑÑÑ Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ð¸ в ÑÑом â â ÑлÑÑае лÑÑÑе не ÑÑÑанавливаÑÑ Ð»Ð¾ÐºÐ°Ð»Ñ Ð¿Ð¾ ÑмолÑаниÑ. â â â â Ð â â â â ÐÐµÑ â â ru_RU.UTF-8-8 â â ru_UA.UTF-8-8 â â â â â â <Ok> <ÐÑмена> â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Generating locales (this might take a while)... ru_UA.UTF-8... done ru_RU.UTF-8... done Generation complete. |
#apt-get install mc
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Не могу найти пакет mc |
#dpkg-reconfigure locales
â ÑлÑÑае лÑÑÑе не ÑÑÑанавливаÑÑ Ð»Ð¾ÐºÐ°Ð»Ñ Ð¿Ð¾ ÑмолÑаниÑ. â â â â Ð â â â â ÐÐµÑ â â en_GB.UTF-8-8 â â ru_RU.UTF-8-8 â â ru_UA.UTF-8 â â â â â â <Ok> <ÐÑмена> â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Generating locales (this might take a while)... ru_UA.UTF-8... done ru_RU.UTF-8... done en_GB.UTF-8... done Generation complete. |
#apt-get install mc
Чтение списков пакетов... Готово Построение дерева зависимостей... Готово W: Не удалось получить атрибуты списка пакетов с исходными текстами http://ftp.ua.debian.org etch/main Packages (/var/lib/apt/lists/ftp.ua.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Вы можете запустить 'apt-get update' для исправления этих ошибок E: Не могу найти пакет mc |
#dpkg-reconfigure locales
ÐаÑÑÑойка пакеÑа âââââ⤠ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ locales âââââââ â Ð â â â â [ de_LU.UTF-8 UTF-8 â â [ ] dz_BT UTF-8 â â [ ] el_CY ISO-8859-7 â â [ ] el_CY.UTF-8 UTF-8 â â [ ] el_GR ISO-8859-7 â â [ ] el_GR.UTF-8 UTF-8 â â [ ] en_AU ISO-8859-1 â â [ ] en_AU.UTF-8 UTF-8 â â [ ] en_BW ISO-8859-1 â â [ ] en_BW.UTF-8 UTF-8 â â [ ] en_CA ISO-8859-1 â â â â â â <Ok> <ÐÑмена> â â â ââââââââââââââââââââââââââââââââââââââââââ |
Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=3 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectCl Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=5 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=6 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(|(objectClass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=s-1-5-21-2615756460-649402623-2257389241-501)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-32-546)))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=6 SRCH attr=sambaSID Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaGroupType) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) Aug 6 06:26:33 ldap last message repeated 3 times Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=6 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=7 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(|(objectClass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=s-1-5-21-2615756460-649402623-2257389241-501)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-32-546)))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=7 SRCH attr=sambaSID Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaGroupType) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) Aug 6 06:26:33 ldap last message repeated 3 times Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=7 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=8 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-1-0))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=8 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=8 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=9 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-2))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=9 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=10 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-546))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=10 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=10 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=11 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=11 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectC Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=11 ENTRY dn="uid=root,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=11 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=12 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=12 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=12 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=13 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(uid=admin)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=13 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectC Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=13 ENTRY dn="uid=admin,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=13 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10948 fd=53 ACCEPT from IP=194.150.93.88:43940 (IP=0.0.0.0:389) Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=0 BIND dn="" method=128 Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=0 RESULT tag=97 err=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=1 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=admin))" Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=1 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=1 ENTRY dn="uid=admin,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10948 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=14 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=14 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=14 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=14 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=15 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=15 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectC Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=15 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=16 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=16 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=16 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10947 op=16 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10947 fd=31 closed (connection lost) Aug 6 06:26:33 ldap slapd[1111]: conn=10948 fd=53 closed (connection lost) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 fd=31 ACCEPT from IP=194.150.93.88:43941 (IP=0.0.0.0:389) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=0 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" method=128 Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=0 BIND dn="cn=admin,dc=liag,dc=org,dc=ua" mech=SIMPLE ssf=0 Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=0 RESULT tag=97 err=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=1 SRCH attr=supportedControl Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=1 ENTRY dn="" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=2 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=65534))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=2 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=3 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=3 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectCl Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=4 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-21-2615756460-649402623-2257389241-513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=4 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=4 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=5 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=6 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(|(objectClass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=s-1-5-21-2615756460-649402623-2257389241-501)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-32-546)))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=6 SRCH attr=sambaSID Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaGroupType) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) Aug 6 06:26:33 ldap last message repeated 3 times Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=6 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=7 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(|(objectClass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=s-1-5-21-2615756460-649402623-2257389241-501)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-32-546)))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=7 SRCH attr=sambaSID Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaGroupType) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) Aug 6 06:26:33 ldap last message repeated 3 times Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=7 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=8 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-1-0))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=8 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=8 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=9 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-2))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=9 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=10 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-546))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=10 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (sambaSID) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=10 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=11 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=11 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectC Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=11 ENTRY dn="uid=root,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=11 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=12 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=12 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=12 SEARCH RESULT tag=101 err=0 nentries=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=13 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(uid=admin)(objectClass=sambaSamAccount))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=13 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectC Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=13 ENTRY dn="uid=admin,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=13 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10950 fd=53 ACCEPT from IP=194.150.93.88:43942 (IP=0.0.0.0:389) Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=0 BIND dn="" method=128 Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=0 RESULT tag=97 err=0 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SRCH base="dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=posixAccount)(uid=admin))" Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (uid) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 ENTRY dn="uid=admin,ou=users,dc=liag,dc=org,dc=ua" Aug 6 06:26:33 ldap slapd[1111]: conn=10950 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 SRCH base="ou=Groups,dc=liag,dc=org,dc=ua" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=513))" Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Aug 6 06:26:33 ldap slapd[1111]: <= bdb_equality_candidates: (gidNumber) index_param failed (18) Aug 6 06:26:33 ldap slapd[1111]: conn=10949 op=14 ENTRY dn="cn=domain users,ou=groups,dc=liag,dc=org,dc=ua"
<cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <cline> 99 vi /etc/network/interfaces </cline> <history> 1 cd /tmp/ 2 wget http://xgu.ru/wiki/lilalo 3 wget http://xgu.ru/lilalo/install 4 apt-get install make 5 vi /etc/apt/sources.list 6 apt-get update 7 apt-get debian-keyring 8 apt-get debian-key-ring 9 apt-cache search debian key ring 10 apt-get install debian-keyring 11 apt-get install rsync 12 apt-get install locales 13 ls /lib/modules/ 14 apt-get install snmpd 15 apt-get install snmpd 16 tail /var/log/daemon.log 17 ls /lib/modules/ 18 ls /lib/modules/2.6.18-5-xen-686/modules.dep 19 modprobe ls 20 modprobe loop 21 /etc/init.d/snmpd restart 22 dpkg-reconfigure locales 23 reboot 24 dpkg-reconfigure locales 25 LANG=C 26 dpkg-reconfigure locales 27 echo $LANG 28 date 29 cd /tmp/ 30 ls 31 vi /etc/apt/sources.list 32 apt-get install make 33 wget http://xgu.ru/lilalo/install 34 vi install 35 hostname 36 hostname -g 37 hostname -f 38 vi install 39 sh install 40 vi install 41 vi ~/.bash_profile 42 exit 43 cd /tmp 44 sh install 45 apt-get install make 46 apt-cache search perl make 47 apt-cache search perl maker 48 apt-cache search makemaker 49 apt-get install libmodule-build-perl 50 echo $LANG 51 dpkg-reconfigure locale 52 dpkg-reconfigure locales 53 echo $LANG 54 LANG=C 55 echo $LANG 56 dpkg-reconfigure locales 57 apt-get install libc6-xen 58 sh install 59 exit 60 dpkg-reconfigure locales 61 exit 62 dpkg-reconfigure locales 63 freee 64 free 65 shutdown -h now 66 dpkg-reconfigure locales 67 exit 68 apt-get install slapd 69 host ldap 70 apt-get install ldap 71 apt-get install host 72 host ldap 73 vi /etc/ldap/slapd.conf 74 gzip -d /etc/ldap/schema/samba.schema.gz 75 slappasswd 76 cat > /tmp/replicator.ldif <<REPLICATOR 77 vi /tmp/replicator.ldif 78 mv /tmp/replicator.ldif /tmp/admin.ldif 79 cat /tmp/admin.ldif 80 man slapadd 81 slapadd < /tmp/admin.ldif 82 /etc/init.d/slapd stop 83 slapadd < /tmp/admin.ldif 84 vi /etc/ldap/slapd.conf 85 slapadd < /tmp/admin.ldif 86 slapcat 87 /etc/init.d/slapd start 88 vi /etc/ldap/slapd.conf 89 /etc/init.d/slapd restart 90 slapdcat 91 slapcat 92 apt-get install libpam-ldap 93 vi /etc/libnss-ldap.conf 94 vi /etc/nsswitch.conf 95 getent passwd 96 vi /etc/nsswitch.conf 97 vi /etc/libnss-ldap.conf 98 getent passwd 99 vi /etc/network/interfaces </history>
<login_from></login_from> <tty>/dev/ttyp0</tty> <system>Linux 2.6.18-5-xen-686</system> <parent>sshd: root@ttyp0</parent> <ppid>11416</ppid> <pid>11418</pid> <start_time>1197547307</start_time> <lang>ru_UA.UTF-8</lang> </session> <cline> 135 touch .hushlogin </cline> <history> 1 cd /tmp/ 2 wget http://xgu.ru/wiki/lilalo 3 wget http://xgu.ru/lilalo/install 4 apt-get install make 5 vi /etc/apt/sources.list 6 apt-get update 7 apt-get debian-keyring 8 apt-get debian-key-ring 9 apt-cache search debian key ring 10 apt-get install debian-keyring 11 apt-get install rsync 12 apt-get install locales 13 ls /lib/modules/ 14 apt-get install snmpd 15 apt-get install snmpd 16 tail /var/log/daemon.log 17 ls /lib/modules/ 18 ls /lib/modules/2.6.18-5-xen-686/modules.dep 19 modprobe ls 20 modprobe loop 21 /etc/init.d/snmpd restart 22 dpkg-reconfigure locales 23 reboot 24 dpkg-reconfigure locales 25 LANG=C 26 dpkg-reconfigure locales 27 echo $LANG 28 date 29 cd /tmp/ 30 ls 31 vi /etc/apt/sources.list 32 apt-get install make 33 wget http://xgu.ru/lilalo/install 34 vi install 35 hostname 36 hostname -g 37 hostname -f 38 vi install 39 sh install 40 vi install 41 vi ~/.bash_profile 42 exit 43 cd /tmp 44 sh install 45 apt-get install make 46 apt-cache search perl make 47 apt-cache search perl maker 48 apt-cache search makemaker 49 apt-get install libmodule-build-perl 50 echo $LANG 51 dpkg-reconfigure locale 52 dpkg-reconfigure locales 53 echo $LANG 54 LANG=C 55 echo $LANG 56 dpkg-reconfigure locales 57 apt-get install libc6-xen 58 sh install 59 exit 60 dpkg-reconfigure locales 61 exit 62 dpkg-reconfigure locales 63 freee 64 free 65 shutdown -h now 66 dpkg-reconfigure locales 67 exit 68 apt-get install slapd 69 host ldap 70 apt-get install ldap 71 apt-get install host 72 host ldap 73 vi /etc/ldap/slapd.conf 74 gzip -d /etc/ldap/schema/samba.schema.gz 75 slappasswd 76 cat > /tmp/replicator.ldif <<REPLICATOR 77 vi /tmp/replicator.ldif 78 mv /tmp/replicator.ldif /tmp/admin.ldif 79 cat /tmp/admin.ldif 80 man slapadd 81 slapadd < /tmp/admin.ldif 82 /etc/init.d/slapd stop 83 slapadd < /tmp/admin.ldif 84 vi /etc/ldap/slapd.conf 85 slapadd < /tmp/admin.ldif 86 slapcat 87 /etc/init.d/slapd start 88 vi /etc/ldap/slapd.conf 89 /etc/init.d/slapd restart 90 slapdcat 91 slapcat 92 apt-get install libpam-ldap 93 vi /etc/libnss-ldap.conf 94 vi /etc/nsswitch.conf 95 getent passwd 96 vi /etc/nsswitch.conf 97 vi /etc/libnss-ldap.conf 98 getent passwd 99 vi /etc/network/interfaces 100 vi /etc/resolv.conf 101 ifconfig 102 vi /etc/network/interfaces 103 sh -c 'ifdown eth0 ; ifup eth0' 104 ifconfig 105 ls 106 rm 1-translit.txt gen-passwd.pl 107 ifconfig 108 vi /etc/ldap/slapd.conf 109 vi /etc/syslog.conf 110 /etc/init.d/slapd restart 111 tail -f /var/log/daemon.log 112 man slapd.conf 113 vi /etc/syslog.conf 114 man slapd.conf 115 vi /etc/syslog.conf 116 ls -l /var/log/debug 117 less /var/log/debug 118 tail -f /var/log/debug 119 less /var/log/debug 120 > /var/log/debug 121 less /var/log/debug 122 vi /etc/ldap/slapd.conf 123 vi /etc/ldap/slapd.conf 124 /etc/init.d/slapd restart 125 > /var/log/debug 126 vi /etc/ldap/slapd.conf 127 /etc/init.d/slapd restart 128 less /var/log/debug 129 tail -f /var/log/debug 130 vi /etc/ldap/slapd.conf 131 tail -f /var/log/debug 132 ping 192.168.4.254 133 ping 192.168.5.254 134 ping 192.168.6.254 135 touch .hushlogin </history>
Aug 4 09:55:28 ldap kernel: EXT3-fs: INFO: recovery required on readonly filesystem. Aug 4 09:55:28 ldap kernel: EXT3-fs: write access will be enabled during recovery. Aug 4 09:55:28 ldap kernel: kjournald starting. Commit interval 5 seconds Aug 4 09:55:28 ldap kernel: EXT3-fs: recovery complete. Aug 4 09:55:28 ldap kernel: EXT3-fs: mounted filesystem with ordered data mode. Aug 4 09:55:28 ldap kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled Aug 4 09:55:28 ldap kernel: EXT3 FS on hda1, internal journal Aug 4 09:55:28 ldap kernel: device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Aug 4 09:55:29 ldap kernel: NET: Registered protocol family 10 Aug 4 09:55:29 ldap kernel: lo: Disabled Privacy Extensions Aug 4 09:55:29 ldap kernel: IPv6 over IPv4 tunneling driver Aug 4 10:17:07 ldap -- MARK -- Aug 4 10:37:07 ldap -- MARK -- Aug 4 10:57:07 ldap -- MARK -- Aug 4 11:17:07 ldap -- MARK -- Aug 4 11:37:07 ldap -- MARK -- Aug 4 11:57:07 ldap -- MARK -- Aug 4 12:17:07 ldap -- MARK -- Aug 4 12:37:08 ldap -- MARK -- Aug 4 12:57:08 ldap -- MARK -- Aug 4 13:17:08 ldap -- MARK -- Aug 4 13:37:08 ldap -- MARK -- Aug 4 13:57:08 ldap -- MARK -- Aug 4 14:17:08 ldap -- MARK -- Aug 4 14:37:08 ldap -- MARK -- Aug 4 14:57:08 ldap -- MARK -- Aug 4 15:17:08 ldap -- MARK -- Aug 4 15:37:08 ldap -- MARK -- Aug 4 15:57:08 ldap -- MARK -- Aug 4 16:17:08 ldap -- MARK -- Aug 4 16:37:08 ldap -- MARK -- Aug 4 16:57:09 ldap -- MARK -- Aug 4 17:17:09 ldap -- MARK -- Aug 4 17:37:09 ldap -- MARK -- Aug 4 17:57:09 ldap -- MARK -- Aug 4 18:17:09 ldap -- MARK -- Aug 4 18:37:09 ldap -- MARK -- Aug 4 18:57:09 ldap -- MARK -- Aug 4 19:17:09 ldap -- MARK -- Aug 4 19:37:09 ldap -- MARK -- Aug 4 19:57:09 ldap -- MARK -- Aug 4 20:17:09 ldap -- MARK -- Aug 4 20:37:09 ldap -- MARK -- Aug 4 20:57:09 ldap -- MARK -- Aug 4 21:17:09 ldap -- MARK -- Aug 4 21:37:10 ldap -- MARK -- Aug 4 21:57:10 ldap -- MARK -- Aug 4 22:17:10 ldap -- MARK -- Aug 4 22:37:10 ldap -- MARK -- Aug 4 22:57:10 ldap -- MARK -- Aug 4 23:17:10 ldap -- MARK -- Aug 4 23:37:10 ldap -- MARK -- Aug 4 23:57:10 ldap -- MARK -- Aug 5 00:17:10 ldap -- MARK -- Aug 5 00:37:10 ldap -- MARK -- Aug 5 00:57:10 ldap -- MARK -- Aug 5 01:17:10 ldap -- MARK -- Aug 5 01:37:10 ldap -- MARK -- Aug 5 01:57:11 ldap -- MARK -- Aug 5 02:17:11 ldap -- MARK -- Aug 5 02:37:11 ldap -- MARK -- Aug 5 02:57:11 ldap -- MARK -- Aug 5 03:17:11 ldap -- MARK -- Aug 5 03:37:11 ldap -- MARK -- Aug 5 03:57:11 ldap -- MARK -- Aug 5 04:17:11 ldap -- MARK -- Aug 5 04:37:11 ldap -- MARK -- Aug 5 04:57:11 ldap -- MARK -- Aug 5 05:17:11 ldap -- MARK -- Aug 5 05:37:11 ldap -- MARK -- Aug 5 05:57:11 ldap -- MARK -- Aug 5 06:17:12 ldap -- MARK -- Aug 5 06:25:25 ldap syslogd 1.4.1#18: restart. Aug 5 06:37:12 ldap -- MARK -- Aug 5 06:57:12 ldap -- MARK -- Aug 5 07:17:12 ldap -- MARK -- Aug 5 07:37:12 ldap -- MARK -- Aug 5 07:57:12 ldap -- MARK -- Aug 5 08:17:12 ldap -- MARK -- Aug 5 08:37:12 ldap -- MARK -- Aug 5 08:57:12 ldap -- MARK -- Aug 5 09:17:12 ldap -- MARK -- Aug 5 09:37:12 ldap -- MARK -- Aug 5 09:57:12 ldap -- MARK -- Aug 5 10:17:12 ldap -- MARK -- Aug 5 10:37:12 ldap -- MARK -- Aug 5 10:57:13 ldap -- MARK -- Aug 5 11:17:13 ldap -- MARK -- Aug 5 11:37:13 ldap -- MARK -- Aug 5 11:57:13 ldap -- MARK -- Aug 5 12:17:13 ldap -- MARK -- Aug 5 12:37:13 ldap -- MARK -- Aug 5 12:57:13 ldap -- MARK -- Aug 5 13:17:13 ldap -- MARK -- Aug 5 13:37:13 ldap -- MARK -- Aug 5 13:57:13 ldap -- MARK -- Aug 5 14:17:13 ldap -- MARK -- Aug 5 14:37:13 ldap -- MARK -- Aug 5 14:57:13 ldap -- MARK -- Aug 5 15:17:14 ldap -- MARK -- Aug 5 15:37:14 ldap -- MARK -- Aug 5 15:57:14 ldap -- MARK -- Aug 5 16:17:14 ldap -- MARK -- Aug 5 16:37:14 ldap -- MARK -- Aug 5 16:57:14 ldap -- MARK -- Aug 5 17:17:14 ldap -- MARK -- Aug 5 17:37:14 ldap -- MARK -- Aug 5 17:57:14 ldap -- MARK -- Aug 5 18:17:14 ldap -- MARK -- Aug 5 18:37:14 ldap -- MARK -- Aug 5 18:57:14 ldap -- MARK -- Aug 5 19:17:14 ldap -- MARK -- Aug 5 19:37:15 ldap -- MARK -- Aug 5 19:57:15 ldap -- MARK -- Aug 5 20:17:15 ldap -- MARK -- Aug 5 20:37:15 ldap -- MARK -- Aug 5 20:57:15 ldap -- MARK -- Aug 5 21:17:15 ldap -- MARK -- Aug 5 21:37:15 ldap -- MARK -- Aug 5 21:57:15 ldap -- MARK -- Aug 5 22:17:15 ldap -- MARK -- Aug 5 22:37:15 ldap -- MARK -- Aug 5 22:57:15 ldap -- MARK -- Aug 5 23:17:15 ldap -- MARK -- Aug 5 23:37:15 ldap -- MARK -- Aug 5 23:57:15 ldap -- MARK -- Aug 6 00:17:16 ldap -- MARK -- Aug 6 00:37:16 ldap -- MARK -- Aug 6 00:57:16 ldap -- MARK -- Aug 6 01:17:16 ldap -- MARK -- Aug 6 01:37:16 ldap -- MARK -- Aug 6 01:57:16 ldap -- MARK -- Aug 6 02:17:16 ldap -- MARK -- Aug 6 02:37:16 ldap -- MARK -- Aug 6 02:57:16 ldap -- MARK -- Aug 6 03:17:16 ldap -- MARK -- Aug 6 03:37:16 ldap -- MARK -- Aug 6 03:57:16 ldap -- MARK -- Aug 6 04:17:16 ldap -- MARK -- Aug 6 04:37:17 ldap -- MARK -- Aug 6 04:57:17 ldap -- MARK -- Aug 6 05:17:17 ldap -- MARK -- Aug 6 05:37:17 ldap -- MARK -- Aug 6 05:57:17 ldap -- MARK -- Aug 6 06:17:17 ldap -- MARK -- Aug 6 06:25:08 ldap syslogd 1.4.1#18: restart. Aug 6 06:37:17 ldap -- MARK -- Aug 6 06:57:17 ldap -- MARK -- Aug 6 07:17:17 ldap -- MARK --
Время первой команды журнала | 07:33:52 2009- 9-10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:00:29 2010- 8- 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 12.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 6.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.56 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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