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

Содержание

Журнал

Четверг (10/18/18)

/dev/pts/1
15:06:27
#getfacl project/
# file: project/
# owner: root
# group: devel
user::rwx
user:user:r--
group::rwx
mask::rwx
other::---
/dev/pts/0
15:06:32
#mkdir public

/dev/pts/1
15:06:32
#mkdir public

/dev/pts/0
15:09:39
#ls
project  public
/dev/pts/1
15:09:39
#ls
project  public
/dev/pts/0
15:09:41
#cmod 777 public/
l3script: cmod: command not found
/dev/pts/1
15:09:41
#cmod 777 public/
l3script: cmod: command not found
/dev/pts/0
15:09:52
#cd public/

/dev/pts/1
15:09:52
#cd public/

/dev/pts/0
15:10:11
#touch ROOT

/dev/pts/1
15:10:11
#touch ROOT

/dev/pts/0
15:10:20
#chmod 777 public/
chmod: cannot access `public/': No such file or directory
/dev/pts/1
15:10:20
#chmod 777 public/
chmod: cannot access `public/': No such file or directory
/dev/pts/0
15:11:55
#cd ..

/dev/pts/1
15:11:55
#cd ..

/dev/pts/0
15:12:07
#chmod 777 public/

/dev/pts/1
15:12:07
#chmod 777 public/

/dev/pts/0
15:12:08
#chmod +t public/

/dev/pts/1
15:12:08
#chmod +t public/

/dev/pts/0
15:13:28
#touch ROOT

/dev/pts/1
15:13:28
#touch ROOT

/dev/pts/0
15:14:35
#ls -l `which passwd`
-rwsr-xr-x 1 root root 51096 May 26  2012 /usr/bin/passwd
/dev/pts/1
15:14:35
#ls -l `which passwd`
-rwsr-xr-x 1 root root 51096 May 26  2012 /usr/bin/passwd
/dev/pts/0
15:22:37
#find / -perm -4000 2> /dev/null
/usr/lib/openssh/ssh-keysign
/usr/lib/pt_chown
/usr/lib/eject/dmcrypt-get-device
/usr/bin/passwd
/usr/bin/chfn
/usr/bin/gpasswd
/usr/bin/chsh
/usr/bin/newgrp
/usr/sbin/exim4
/bin/mount
/bin/su
/bin/ping6
/bin/umount
/bin/ping
/dev/pts/1
15:22:37
#find / -perm -4000 2> /dev/null
/usr/lib/openssh/ssh-keysign
/usr/lib/pt_chown
/usr/lib/eject/dmcrypt-get-device
/usr/bin/passwd
/usr/bin/chfn
/usr/bin/gpasswd
/usr/bin/chsh
/usr/bin/newgrp
/usr/sbin/exim4
/bin/mount
/bin/su
/bin/ping6
/bin/umount
/bin/ping
/dev/pts/0
15:23:55
#cd /etc/

/dev/pts/1
15:23:55
#cd /etc/

/dev/pts/0
15:27:36
#touch nologin

/dev/pts/1
15:27:36
#touch nologin

/dev/pts/0
15:28:14
#rm nologin

/dev/pts/1
15:28:14
#rm nologin

/dev/pts/0
15:29:18
#'Hallo!' > motd
l3script: Hallo!: command not found
/dev/pts/1
15:29:18
#'Hallo!' > motd
l3script: Hallo!: command not found
/dev/pts/0
15:30:34
#Hallo! > motd
l3script: Hallo!: command not found
/dev/pts/1
15:30:34
#Hallo! > motd
l3script: Hallo!: command not found
/dev/pts/0
15:30:41
#Hallo! > motd
l3script: Hallo!: command not found
/dev/pts/1
15:30:41
#Hallo! > motd
l3script: Hallo!: command not found
/dev/pts/0
15:30:44
#cat > motd
Hallo!
^Z
[1]+  Stopped                 cat > motd
/dev/pts/1
15:30:44
#cat > motd
Hallo!
^Z
[1]+  Stopped                 cat > motd
/dev/pts/0
15:31:05
#cat > motd
Hallo!
/dev/pts/1
15:31:05
#cat > motd
Hallo!
/dev/pts/0
15:31:18
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/1
15:31:18
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/0
15:31:23
#kill 1

/dev/pts/1
15:31:23
#kill 1

/dev/pts/0
15:31:32
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/1
15:31:32
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/0
15:31:35
#kill 1

/dev/pts/1
15:31:35
#kill 1

/dev/pts/0
15:31:45
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/1
15:31:45
#jobs
[1]+  Stopped                 cat > motd
/dev/pts/0
15:31:47
#cd ~

/dev/pts/1
15:31:47
#cd ~

/dev/pts/0
15:33:09
#touch ~/.hushlogin

/dev/pts/1
15:33:09
#touch ~/.hushlogin

/dev/pts/0
15:33:16
#passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/dev/pts/1
15:33:16
#passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/dev/pts/0
15:38:26
#passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/dev/pts/1
15:38:26
#passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/dev/pts/0
15:38:43