kihei/i-08e00131013d9e83f
by SadServersMore by SadServers
#!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-061454707f2cf9aeb:~/agent$ file sadagent sadagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linkeH6A8cVluPFUvaNojVwMi/C5t-5rNiA5GJLWeSm5Qz/KXfivG_lDFnrqPGrWEJo/K_OQEFevUZEPr4lPEadmin@i-061454707f2cf9aeb:~/agent$ .. bash: ..: command not found admin@i-061454707f2cf9aeb:~/agent$
paris/i-061454707f2cf9aeb 01:55
by SadServersWe 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: sudo: no password was provided sudo: a password is required admin@i-00bec02e20d648cd2:~$ cat .ansible/tmp/ cat: .ansible/tmp/: Is a directory admin@i-00bec02e20d648cd2:~$ cd .ansible/ admin@i-00bec02e20d648cd2:~/.ansible$
paris/i-00bec02e20d648cd2 01:08
by SadServersPhysical volume "/dev/nvme2n1" successfully created. admin@i-0006ce2ef3a195375:~$ sudo pv pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvsadmin@i-0006ce2ef3a195375:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0006ce2ef3a195375:~$ sudo vgcreatevg /dev/nvme1n1 /dev/nvme2n1 sudo: vgcreatevg: command not found admin@i-0006ce2ef3a195375:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0006ce2ef3a195375:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg 2 0 0 wz--n- 1.99g 1.99g admin@i-0006ce2ef3a195375:~$ sudo lvcreate -n lv