command-line-murders/i-0e79d22e3947356aa
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: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 3 incorrect password attempts admin@i-04da8860b0762f714:~$ su Password:
paris/i-04da8860b0762f714 02:47
by SadServersadmin 695 0.1 3.0 24456 14368 pts/0 R<+ 20:14 0:00 /usr/bin/pythadmin 696 0.0 0.1 2480 508 pts/1 S<s 20:14 0:00 sh -c /bin/baadmin 697 0.1 0.9 6820 4564 pts/1 S< 20:14 0:00 /bin/bash admin 705 0.0 0.6 8648 3220 pts/1 R<+ 20:14 0:00 ps aux admin@i-06d8a1ea39f24c764:~$ netstat -nltp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN admin@i-06d8a1ea39f24c764:~$
paris/i-06d8a1ea39f24c764 00:37
by SadServersVolume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv