command-line-murders/i-098b912e0aebc1e99
by SadServersMore by SadServers
< Content-Length: 207 Content-Length: 207 < Connection: close Connection: close < * Closing connection 0 admin@i-0bcf82ab907e07b05:~$ ls agent webserver.py admin@i-0bcf82ab907e07b05:~$ ls -l agent/ total 11136 -rwxr-xr-x 1 admin admin 230 Sep 24 23:20 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 15:53 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 15:53 sadagent.txt admin@i-0bcf82ab907e07b05:~$
paris/i-0bcf82ab907e07b05 03:27
by SadServersusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-irectory] [-T timeout] [-u user] file ... admin@i-028f47879cdca548e:~$ sudo cat 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:
paris/i-028f47879cdca548e 03:23
by SadServersadmin@i-0f0fc0419b1540f81:~$ sudo pvcreate /dev/nvme1 nvme1 nvme1n1 admin@i-0f0fc0419b1540f81:~$ sudo pvcreate /dev/nvme1 nvme1 nvme1n1 admin@i-0f0fc0419b1540f81:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2 nvme2 nvme2n1 admin@i-0f0fc0419b1540f81:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2 nvme2 nvme2n1 admin@i-0f0fc0419b1540f81:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0f0fc0419b1540f81:~$ 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-0f0fc0419b1540f81:~$