paris/i-0ebadfe95bbd0eb1b
by SadServersMore by SadServers
bash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo echo "" > /home/admin/datafile bash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo su root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# echo "" > /home/admin/datafile root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# exit exit admin@i-00ca6dd8e9e53cf6e:~$ cd /home/admin/ admin@i-00ca6dd8e9e53cf6e:~$ ls agent data datafile kihei admin@i-00ca6dd8e9e53cf6e:~$ ./
kihei/i-00ca6dd8e9e53cf6e 01:59
by SadServers/dev/nvme0n1p15 130M 6.2M 124M 5% /boot/efi admin@i-009350819f2d6345b:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-009350819f2d6345b:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-009350819f2d6345b:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-009350819f2d6345b:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv
kihei/i-009350819f2d6345b 04:19
by SadServersAllocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done root@i-06073fc493f2f2874:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 372K 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 root@i-06073fc493f2f2874:/home/admin#