kihei/i-032a23e8be421d153
by SadServersMore by SadServers
drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0e45767b31594566c:~$ chmod 777 data chmod: changing permissions of 'data': Operation not permitted admin@i-0e45767b31594566c:~$ sudo chmod 777 data admin@i-0e45767b31594566c:~$ ./kihei -v Deleting file /home/admin/data/newdatafile... panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0e45767b31594566c:~$ rm /home/admin/data/newdatafile rm: remove write-protected regular empty file '/home/admin/data/newdatafile'? n
kihei/i-0e45767b31594566c 09:15
by SadServers-rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config drwxr-xr-x 8 admin admin 4096 Sep 30 17:45 .git drwxr-xr-x 2 admin root 4096 Sep 30 17:45 agent -rw-r--r-- 1 admin admin 109 Oct 1 17:06 curler.sh -rw------- 1 admin admin 1294 Oct 1 17:06 .viminfo drwxr-xr-x 7 admin admin 4096 Oct 1 17:06 . -rw------- 1 admin admin 289 Oct 1 17:06 .bash_history admin@i-0ee2f3007d5494cc2:~$ less .bash_history admin@i-0ee2f3007d5494cc2:~$ less .viminfo admin@i-0ee2f3007d5494cc2:~$ less
monaco/i-0ee2f3007d5494cc2 02:34
by SadServersadmin@i-033ff0a01601e913b:~$ sudo mkfs.ext /dev/mapper/vg01-lv01 sudo: mkfs.ext: command not found admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: 96156bbb-6deb-4fd6-a20d-0e6a759cd52b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01