command-line-murders/i-01d5fef6956d229c8
by SadServersMore by SadServers
admin@i-0342ea88046ffbc17:~$ ls agent webserver.py admin@i-0342ea88046ffbc17:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0342ea88046ffbc17:~$ ls -l webserver.py -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0342ea88046ffbc17:~$ fuser 5000/tcp admin@i-0342ea88046ffbc17:~$
paris/i-0342ea88046ffbc17 04:47
by SadServersWARNING: only considering LVM devices /dev/sdc [ 1.00 GiB] LVM physical volume /dev/sdb [ 1.00 GiB] LVM physical volume 2 LVM physical volume whole disks 0 LVM physical volumes admin@i-0cd04794b59819ce5:~$ sudo vgcreate 2gdisk /dev/sdc /dev/sdb Volume group "2gdisk" successfully created admin@i-0cd04794b59819ce5:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0cd04794b59819ce5:~$ sudo !! sudo vgs VG #PV #LV #SN Attr VSize VFree 2gdisk 2 0 0 wz--n- 1.99g 1.99g admin@i-0cd04794b59819ce5:~$ sudo lvcrea
kihei/i-0cd04794b59819ce5 04:57
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0a1d4ad6b6fe16108:~$ ыгвщ ыг bash: ыгвщ: command not found admin@i-0a1d4ad6b6fe16108:~$ sudo su root@i-0a1d4ad6b6fe16108:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0a1d4ad6b6fe16108:/home/admin# lvcreate -n lv -L1600 vg Volume group "vg" not found Cannot process volume group vg root@i-0a1d4ad6b6fe16108:/home/admin# vgcreate vg ^C root@i-0a1d4ad6b6fe16108:/home/admin# vfcreate lvcreate -n lv -L1600 vg bash: vfcreate: command not found root@i-0a1d4ad6b6fe16108:/home/admin# vfcreate lvcreate -n lv -L1600 vg