command-line-murders/i-06ae39e4e9b826202
by SadServersMore by SadServers
drwxr-xr-x 2 root root 4.0K Sep 28 2021 media drwxr-xr-x 11 root root 4.0K Sep 28 2021 var drwxr-xr-x 14 root root 4.0K Sep 28 2021 usr drwxr-xr-x 3 root root 4.0K Sep 17 16:44 home drwxr-xr-x 4 root root 4.0K Sep 20 15:59 boot dr-xr-xr-x 13 root root 0 Nov 8 18:30 sys dr-xr-xr-x 135 root root 0 Nov 8 18:30 proc drwxr-xr-x 18 root root 4.0K Nov 8 18:31 .. drwxr-xr-x 18 root root 4.0K Nov 8 18:31 . drwxr-xr-x 75 root root 4.0K Nov 8 18:31 etc drwxr-xr-x 13 root root 2.8K Nov 8 18:31 dev drwx------ 5 root root 4.0K Nov 8 18:31 root drwxrwxrwt 9 root root 4.0K Nov 8 18:31 tmp drwxr-xr-x 22 root root 620 Nov 8 18:31 run admin@i-0e0219fa1f4b6c15a:~$
paris/i-0e0219fa1f4b6c15a 03:31
by SadServers#2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 2 incorrect password attempts admin@i-052bf5d2c561574ad:~$ ls agent webserver.py admin@i-052bf5d2c561574ad:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-052bf5d2c561574ad:~$ sudo
paris/i-052bf5d2c561574ad 00:41
by SadServersadmin@i-005816389398da366:~$ md5sum ~/mysolution md5sum: /home/admin/mysolution: No such file or directory admin@i-005816389398da366:~$ sudo cat /etc/passwd We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
paris/i-005816389398da366 00:25
by SadServersnvme1n1 259:1 0 1G 0 disk nvme2n1 259:5 0 1G 0 disk root@i-043dab6b958462a19:~# pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g root@i-043dab6b958462a19:~# vgcreate /dev/sdb /dev/sdc /dev/sdb: already exists in filesystem Run `vgcreate --help' for more information. root@i-043dab6b958462a19:~# vgcreate my_vg /dev/sdb /dev/sdc Volume group "my_vg" successfully created root@i-043dab6b958462a19:~# vgs VG #PV #LV #SN Attr VSize VFree my_vg 2 0 0 wz--n- 1.99g 1.99g root@i-043dab6b958462a19:~# pvcreate -L 1,99 -n