command-line-murders/i-08976551bdb0c17b7
by SadServersMore by SadServers
rm: cannot remove 'datafile': Permission denied admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo srm datafile sudo: srm: command not found admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo rm datafile admin@i-0726590fe1fcdef99:/mnt/new_partition$ ls lost+found admin@i-0726590fe1fcdef99:/mnt/new_partition$ cd / admin@i-0726590fe1fcdef99:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0726590fe1fcdef99:/$ cd home/admin/ admin@i-0726590fe1fcdef99:~$ ls agent data datafile kihei admin@i-0726590fe1fcdef99:~$ ln -s /mnt/new_partition/ test admin@i-0726590fe1fcdef99:~$ ls
kihei/i-0726590fe1fcdef99 06:04
by SadServersadmin@i-06fbb5fbb32cbcef9:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-06fbb5fbb32cbcef9:~$ vgcreate LVMvgTEST /dev/sdb /dev/sdc WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgcreate LVMvgTEST /dev/sdb /dev/sdc Volume group "LVMvgTEST" successfully created admin@i-06fbb5fbb32cbcef9:~$ lvs
kihei/i-06fbb5fbb32cbcef9 03:14
by SadServers> User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Fri, 26 Jan 2024 08:14:13 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-048defd814f7a6edd:~$ ls localhost:5000 ls: cannot access 'localhost:5000': No such file or directory admin@i-048defd814f7a6edd:~$ l