command-line-murders/i-02d744b0398b53d50
by SadServersMore by SadServers
WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0bac7be7cee2fffc8:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0bac7be7cee2fffc8:~$ sudo vgcreate vg_1 /dev/sdb /dev/sdc Volume group "vg_1" successfully created admin@i-0bac7be7cee2fffc8:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg_1 2 0 0 wz--n- 1.99g 1.99g admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate lv_1 -l 100%vg vg_1 Volume group "lv_1" not found Cannot process volume group lv_1 admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate -lv_1 -l 100%vg vg_1
kihei/i-0bac7be7cee2fffc8 03:57
by SadServerstotal 8 drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-06bbe1bb9a1bed390:~$ sudo wc -l webserver.py 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: sudo: a password is required admin@i-06bbe1bb9a1bed390:~$ grep password
paris/i-06bbe1bb9a1bed390 00:47
by SadServersadmin 676 0.0 0.7 5920 3540 pts/0 S<s+ 12:31 0:00 bash -l admin 678 0.1 4.2 98716 19708 pts/0 D<l+ 12:31 0:00 /usr/bin/pythadmin 681 0.1 3.2 24720 15140 pts/0 R<+ 12:31 0:00 /usr/bin/pythadmin 682 0.0 0.1 2480 512 pts/1 S<s 12:31 0:00 sh -c /bin/baadmin 683 0.0 1.0 6952 4800 pts/1 S< 12:31 0:00 /bin/bash admin 818 0.0 0.7 8648 3296 pts/1 R<+ 12:35 0:00 ps aux admin@i-02e61d4353cef23e1:~$ whoami admin admin@i-02e61d4353cef23e1:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-02e61d4353cef23e1:~$ df -h
kihei/i-02e61d4353cef23e1 02:28
by SadServersadmin@i-0fa82171f11fb6464:~$ whereis mc mc: /usr/bin/mc admin@i-0fa82171f11fb6464:~$ cd /usr/local/ bin/ etc/ games/ include/ lib/ man/ sbin/ share/ src/ admin@i-0fa82171f11fb6464:~$ cd /usr/local/bin/ admin@i-0fa82171f11fb6464:/usr/local/bin$ ls flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -ah . .. flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -lah total 12K drwxr-xr-x 2 root root 4.0K Sep 24 23:20 . drwxr-xr-x 10 root root 4.0K Sep 20 15:53 .. -rwxr-xr-x 1 root root 208 Sep 24 23:20 flask admin@i-0fa82171f11fb6464:/usr/local/bin$ where ping