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

Содержание

Журнал

Среда (07/08/09)

/dev/ttyp1
17:57:58
#pw useradd --help
pw: illegal option -- -
pw: unknown switch
17:58:06
#pw useradd -h
pw: option requires an argument -- h
pw: unknown switch
17:58:06
#pw useradd -h
pw: option requires an argument -- h
pw: unknown switch
17:58:06
#pw useradd -h
pw: option requires an argument -- h
pw: unknown switch
17:58:08
#man pw
17:58:08
#man pw
прошло 49 минут
/dev/ttyv0
18:47:19
#ls
.bash_history   .history        .lilalo         .viminfo        install
.bash_profile   .k5login        .login          .vimrc          mbox
.bashrc         .l3rc           .profile        .vnc
.cshrc          .lesshst        .ssh            1
18:47:22
#cd /tmp/

18:47:22
#cd /tmp/

18:47:22
#cd /tmp/

18:48:16
#vi t.sh
--- /dev/null	2009-07-08 19:48:35.000000000 +0300
+++ t.sh	2009-07-08 19:48:42.000000000 +0300
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo HELLO
+
18:48:16
#vi t.sh
--- /dev/null	2009-07-08 19:48:35.000000000 +0300
+++ t.sh	2009-07-08 19:48:42.000000000 +0300
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo HELLO
+
18:48:16
#vi t.sh
--- /dev/null	2009-07-08 19:48:35.000000000 +0300
+++ t.sh	2009-07-08 19:48:42.000000000 +0300
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo HELLO
+
18:48:42
#!/bin/sh
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:48:42
#!/bin/sh
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:48:42
#!/bin/sh
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:48:44
#less t.sh
18:48:44
#less t.sh
18:48:44
#less t.sh
18:48:49
#./t.sh
bash: ./t.sh: Permission denied
18:48:49
#./t.sh
bash: ./t.sh: Permission denied
18:48:49
#./t.sh
bash: ./t.sh: Permission denied
18:49:01
#chmod u+x t.sh

18:49:01
#chmod u+x t.sh

18:49:01
#chmod u+x t.sh

18:49:10
#./t.sh
HELLO
18:49:10
#./t.sh
HELLO
18:49:10
#./t.sh
HELLO
/dev/ttyv0
18:50:47
#cd /tmp/

18:50:47
#cd /tmp/

18:50:47
#cd /tmp/

18:50:49
#ls
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:50:49
#ls
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:50:49
#ls
"date"                          4
'date'                          444
-                               4455
.123                            445566
.345                            44556677
.ICE-unix                       4455667788
.X0-lock                        5
.X11-unix                       555
.XIM-unix                       6
.font-unix                      7
...
14                              dirlist2
15                              etccopy
16                              fam-user
17                              lilalo-install-temp-1212
2                               lilalo-install-temp-1241
2007                            list
2008                            sorted
2009                            t.sh
3                               zz*
333                             zz*456
18:50:50
#./t.sh
HELLO
18:50:50
#./t.sh
HELLO
18:50:50
#./t.sh
HELLO
18:50:54
#chmod 7777 t.sh

18:50:54
#chmod 7777 t.sh

18:50:54
#chmod 7777 t.sh

18:51:10
#ls -ld
drwxrwxrwt  16 root  wheel  1024  8 ÉÀÌ 19:48 .
18:51:10
#ls -ld
drwxrwxrwt  16 root  wheel  1024  8 ÉÀÌ 19:48 .
18:51:10
#ls -ld
drwxrwxrwt  16 root  wheel  1024  8 ÉÀÌ 19:48 .
18:51:12
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:51:12
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:51:12
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
/dev/ttyv2
18:52:38
#cd /tmp/

18:52:38
#cd /tmp/

18:52:38
#cd /tmp/

18:52:40
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:52:40
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:52:40
#ls -ld t.sh
-rwsrwsrwt  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:52:48
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:52:48
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:52:48
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:53:02
#chmod 0000 t.sh

18:53:02
#chmod 0000 t.sh

18:53:02
#chmod 0000 t.sh

18:53:15
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:53:15
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:53:15
#chmod -1111 t.sh
chmod: illegal option -- 1
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
18:53:17
#ls -ld t.sh
----------  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:53:17
#ls -ld t.sh
----------  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:53:17
#ls -ld t.sh
----------  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:53:19
#chmod 1000 t.sh

18:53:19
#chmod 1000 t.sh

18:53:19
#chmod 1000 t.sh

18:54:26
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:54:26
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:54:26
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
/dev/ttyp1
18:56:51
#cd /

18:56:51
#cd /

18:56:51
#cd /

18:56:54
#cd /tmp/

18:56:54
#cd /tmp/

18:56:54
#cd /tmp/

/dev/ttyv2
18:58:20
#su -user
su: illegal option -- u
usage: su [-] [-flms] [-c class] [login [args]]
18:58:20
#su -user
su: illegal option -- u
usage: su [-] [-flms] [-c class] [login [args]]
18:58:20
#su -user
su: illegal option -- u
usage: su [-] [-flms] [-c class] [login [args]]
18:58:23
#su - user
l3-agent is already running: pid=42216; pidfile=/home/user/.lilalo/l3-agent.pid
18:58:23
#su - user
l3-agent is already running: pid=42216; pidfile=/home/user/.lilalo/l3-agent.pid
18:58:23
#su - user
l3-agent is already running: pid=42216; pidfile=/home/user/.lilalo/l3-agent.pid
18:58:29
$exit
exit
18:58:29
$exit
exit
18:58:29
$exit
exit
18:58:33
#cd /tmp/

18:58:33
#cd /tmp/

18:58:33
#cd /tmp/

18:58:38
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:58:38
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:58:38
#ls -ld t.sh
---------T  1 root  wheel  22  8 ÉÀÌ 19:48 t.sh
18:58:42
#chmod 1222 t.sh

18:58:42