command-line-murders/i-0eca37425beae6284
by SadServersMore by SadServers
drwxr-xr-x 7 admin admin 4096 Mar 4 20:45 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 576 Mar 4 20:45 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py drwsr-sr-x 2 admin admin 4096 Mar 4 20:45 yolo admin@i-0914c01abdff80d82:~$ rmdir yolo admin@i-0914c01abdff80d82:~$ mkdir yolo admin@i-0914c01abdff80d82:~$ chmod +t yolo admin@i-0914c01abdff80d82:~$ mv
paris/i-0914c01abdff80d82 04:15
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 SadServersnvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0fd2941b6817bc7a9:~$ pvcreate /dev/^C admin@i-0fd2941b6817bc7a9:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0fd2941b6817bc7a9:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0fd2941b6817bc7a9:~$ vgcreate vg /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0fd2941b6817bc7a9:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0fd2941b6817bc7a9:~$ lvcreate -n lv