command-line-murders/i-01f7b1f1a7b80fd82
by SadServersMore by SadServers
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-0f9d17817910b720d:~$ ls -l total 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-0f9d17817910b720d:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0f9d17817910b720d:~$ nc localhost:
paris/i-0f9d17817910b720d 01:47
by SadServersnvme2n1 259:5 0 1G 0 disk admin@i-08d337eedbe8625d4:/var/tmp$ 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-08d337eedbe8625d4:/var/tmp$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-08d337eedbe8625d4:/var/tmp$ 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-08d337eedbe8625d4:/var/tmp$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-08d337eedbe8625d4:/var/tmp$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-08d337eedbe8625d4:/var/tmp$
kihei/i-08d337eedbe8625d4 02:44
by SadServersdrwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config drwxr-xr-x 3 admin admin 4096 Dec 24 11:10 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh -rw-r--r-- 1 admin admin 1024 Dec 24 11:10 .webserver.py.swp 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-042a55932de644732:~$ su - Password: su: Authentication failure admin@i-042a55932de644732:~$ su - Password: su: Authentication failure admin@i-042a55932de644732:~$ ^C admin@i-042a55932de644732:~$ curl