chennai/i-0ab613ff848198104
by SadServersMore by SadServers
0:00 grep webserver admin@i-0f52b9b9e90050f5c:~$ ls -la total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 454 Oct 4 14:29 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0f52b9b9e90050f5c:~$
paris/i-0f52b9b9e90050f5c 02:03
by SadServersbash: /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 SadServersWe 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: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 2 incorrect password attempts admin@i-0b558e9c7b4e80b59:~$