command-line-murders/i-0568fa493899b6647
by SadServersMore by SadServers
Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-05ecaf7ad85aff174:~$ sudo rsync -aAXv / --exclude=/mnt/newvol /mnt/newvosudo: rsync: command not found admin@i-05ecaf7ad85aff174:~$ 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 /dev/mapper/myvg-mylv 1.9G 24K 1.8G 1% /mnt/newvol admin@i-05ecaf7ad85aff174:~$ fdisk
kihei/i-05ecaf7ad85aff174 01:34
by SadServersadmin@i-0dbd5dce9178f03c1:~$ ls data lost+found admin@i-0dbd5dce9178f03c1:~$ touch data/newdatafile touch: cannot touch 'data/newdatafile': Permission denied admin@i-0dbd5dce9178f03c1:~$ sudo touch data/newdatafile admin@i-0dbd5dce9178f03c1:~$ sudo chown admin:admin data/newdatafile admin@i-0dbd5dce9178f03c1:~$ ./kihei panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0dbd5dce9178f03c1:~$ ls -alh /home/admin/data/newdatafile -rw-r--r-- 1 admin admin 0 Mar 8 16:31 /home/admin/data/newdatafile admin@i-0dbd5dce9178f03c1:~$
kihei/i-0dbd5dce9178f03c1 03:59
by SadServerssystemd-coredump:x:998:998:systemd Core Dumper:/:/usr/sbin/nologin admin:x:1000:1000:Debian:/home/admin:/bin/bash admin@i-0f800ac9579c95f93:~$ sudo su 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: no password was provided sudo: a password is required admin@i-0f800ac9579c95f93:~$