command-line-murders/i-03a1c41e505be9d8d
by SadServersMore by SadServers
User admin may run the following commands on i-08be8007cddf7ce4c: (ALL : ALL) ALL (ALL) NOPASSWD: /sbin/shutdown admin@i-08be8007cddf7ce4c:~$ sudo nmap -sS 172.31.43.117 -p- 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:
taipei/i-08be8007cddf7ce4c 02:29
by SadServers[ --profile String ] [ --version ] Use --longhelp to show all options and advanced commands. admin@i-08cb4f73e8283a157:~$ sudo lvcreate -L 100% -n sad_vol sad_vg Can't parse size argument. Invalid argument for --size: 100% Error during parsing of command line. admin@i-08cb4f73e8283a157:~$ sudo lvcreate -L 100%FREE -n sad_vol sad_vg Can't parse size argument. Invalid argument for --size: 100%FREE Error during parsing of command line. admin@i-08cb4f73e8283a157:~$ sudo lvcreate -l 100%FREE -n sad_vol sad_vg Logical volume "sad_vol" created. admin@i-08cb4f73e8283a157:~$ lv
kihei/i-08cb4f73e8283a157 05:31
by SadServerstmpfs 46M 384K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0a041c34e6822612e:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vg1-mylv 254:0 0 2G 0 lvm nvme0n1 259:0 0 8G 0 disk nvme0n1p1 259:1 0 7.9G 0 part / nvme1n1 259:2 0 1G 0 disk nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-0a041c34e6822612e:~$ sudo mount