kihei/i-08e93e0b6cf12c92a
by SadServersMore by SadServers
-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-056d7eb6f3afcb862:~$ sudo cat webserver.py 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: sudo: a password is required admin@i-056d7eb6f3afcb862:~$ locate webserver.py bash: locate: command not found admin@i-056d7eb6f3afcb862:~$ find / -nwebserver.py
paris/i-056d7eb6f3afcb862 03:33
by SadServersOpen LV 0 Max PV 0 Cur PV 2 Act PV 2 VG Size 1.99 GiB PE Size 4.00 MiB Total PE 510 Alloc PE / Size 0 / 0 Free PE / Size 510 / 1.99 GiB VG UUID grLPfL-0P8f-g79n-hPzi-ADEj-HeAy-6e0afn admin@i-08bbc2ba4dceb5368:~$ admin@i-08bbc2ba4dceb5368:~$ admin@i-08bbc2ba4dceb5368:~$ admin@i-08bbc2ba4dceb5368:~$ sudo lvcreate -n hamdin -l 100%FREE vg0
kihei/i-08bbc2ba4dceb5368 02:14
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