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

Содержание

Журнал

Среда (04/06/11)

/dev/pts/3
07:41:52
#uid
bash: uid: command not found
07:41:55
#id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
07:41:57
#exit

07:42:17
#whoami
root
07:42:22
#exit

07:42:24
$su -
Password:
l3-agent is already running: pid=3793; pidfile=/root/.lilalo/l3-agent.pid
07:42:29
#man bash
07:43:48
#netstat -lp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 localhost.localdomain:2208  *:*                         LISTEN      2656/hpiod
tcp        0      0 *:nfs                       *:*                         LISTEN      -
tcp        0      0 *:803                       *:*                         LISTEN      2745/rpc.mountd
tcp        0      0 *:cycleserv2                *:*                         LISTEN      2712/rpc.rquotad
tcp        0      0 *:echo                      *:*                         LISTEN      6719/xinetd
tcp        0      0 *:finger                    *:*                         LISTEN      6719/xinetd
tcp        0      0 *:xact-backup               *:*                         LISTEN      2425/rpc.statd
tcp        0      0 *:sunrpc                    *:*                         LISTEN      2390/portmap
...
unix  2      [ ACC ]     STREAM     LISTENING     11774  3422/trashapplet    /tmp/orbit-user/linc-d5e-0-67b4e872d2d1a
unix  2      [ ACC ]     STREAM     LISTENING     11799  3401/python         /tmp/orbit-user/linc-d49-0-58b84f19d5ca5
unix  2      [ ACC ]     STREAM     LISTENING     11857  3451/notification-a /tmp/orbit-user/linc-d7b-0-4b1e797a28a81
unix  2      [ ACC ]     STREAM     LISTENING     11883  3455/mixer_applet2  /tmp/orbit-user/linc-d7f-0-4b1e797a2ada4
unix  2      [ ACC ]     STREAM     LISTENING     11893  3453/clock-applet   /tmp/orbit-user/linc-d7d-0-4b1e797a2b39f
unix  2      [ ACC ]     STREAM     LISTENING     13331  3487/gnome-terminal /tmp/orbit-user/linc-d9f-0-1ce87d9ea2e08
unix  2      [ ACC ]     STREAM     LISTENING     13763  3589/gnome-screensa /tmp/orbit-user/linc-e04-0-4ce7d0938f1b5
unix  2      [ ACC ]     STREAM     LISTENING     14227  3591/notification-d /tmp/orbit-user/linc-e07-0-485069ec85df5
unix  2      [ ACC ]     STREAM     LISTENING     14308  3628/firefox        /tmp/orbit-user/linc-e2c-0-7cf65da91e70e
unix  2      [ ACC ]     STREAM     LISTENING     11008  3330/dbus-daemon    @/tmp/dbus-IQuv0IGfTy
07:45:04
#netstat -lp | grep finger
tcp        0      0 *:finger                    *:*                         LISTEN      6719/xinetd
07:45:08
#man pkill
07:45:42
#yum -y install telnet-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.space.kz
 * base: mirror.space.kz
 * extras: mirror.space.kz
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.space.kz
Setting up Install Process
Resolving Dependencies
--> Running transaction check
...
telnet-server-0.17-39.el5.x86_64.rpm                                 |  36 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : telnet-server                                                        1/1
Installed:
  telnet-server.x86_64 1:0.17-39.el5
Complete!
07:48:18
#chkconfig
chkconfig version 1.3.30.2 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.
usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
07:48:25
#chkconfig --list
NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
acpid           0:off   1:off   2:on    3:on    4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off
avahi-daemon    0:off   1:off   2:off   3:on    4:on    5:on    6:off
avahi-dnsconfd  0:off   1:off   2:off   3:off   4:off   5:off   6:off
bluetooth       0:off   1:off   2:on