command-line-murders/i-01e88e42116d3fe0c
by SadServersMore by SadServers
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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0101d6397af63d4da:~$ admin@i-0101d6397af63d4da:~$ admin@i-0101d6397af63d4da:~$ ls /usr/bin/ca
paris/i-0101d6397af63d4da 03:27
by SadServersadmin@i-0fb37f0ce1aec9594:~$ ls agent data datafile kihei admin@i-0fb37f0ce1aec9594:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0fb37f0ce1aec9594:~$ cp kihei /mnt cp: cannot create regular file '/mnt/kihei': Permission denied admin@i-0fb37f0ce1aec9594:~$ sudo mkdir /mnt/kihei admin@i-0fb37f0ce1aec9594:~$ sudo chown admin:admin /mnt/kihei/ admin@i-0fb37f0ce1aec9594:~$ cp kihei /
kihei/i-0fb37f0ce1aec9594 08:37
by SadServers# The program is typically sudo, sudoers.so, sudoreplay or visudo. # # Subsystems vary based on the program; "all" matches all subsystems. # Priority may be crit, err, warn, notice, diag, info, trace or debug. # Multiple subsystem@priority may be specified, separated by a comma. # #Debug sudo /var/log/sudo_debug all@debug #Debug sudoers.so /var/log/sudoers_debug all@debug admin@i-020f08eb573cc1e85:~$ ls agent webserver.py admin@i-020f08eb573cc1e85:~$ cat /etc/sudo sudo.conf sudo_logsrvd.conf sudoers sudoers.d/ admin@i-020f08eb573cc1e85:~$ cat /etc/sudoers cat: /etc/sudoers: Permission denied admin@i-020f08eb573cc1e85:~$