kihei/i-0ac43bf139856a172
by SadServersMore by SadServers
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-irectory] [-T timeout] [-u user] file ... admin@i-028f47879cdca548e:~$ 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:
paris/i-028f47879cdca548e 03:23
by SadServersNo device found for /dev/xvdc. admin@i-0999e9d6f065453d6:~$ sudo pvcreate /dev/sda4 No device found for /dev/sda4. admin@i-0999e9d6f065453d6:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme2n1 259:1 0 1G 0 disk nvme0n1 259:2 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0999e9d6f065453d6:~$ pvcreate /dev/nvme0n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0999e9d6f065453d6:~$
kihei/i-0999e9d6f065453d6 07:12
by SadServersrm: 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