command-line-murders/i-09be8694ce37604cf
by SadServersMore by SadServers
-l, --lock lock the password of the named account -n, --mindays MIN_DAYS set minimum number of days before password change to MIN_DAYS -q, --quiet quiet mode -r, --repository REPOSITORY change password in REPOSITORY repository -R, --root CHROOT_DIR directory to chroot into -S, --status report password status on the named account -u, --unlock unlock the password of the named account -w, --warndays WARN_DAYS set expiration warning days to WARN_DAYS -x, --maxdays MAX_DAYS set maximum number of days before password change to MAX_DAYS admin@i-05d764fc7a0200ea6:~$ passwd Changing password for admin. Current password:
paris/i-05d764fc7a0200ea6 00:32
by SadServersadmin@i-0fa82171f11fb6464:~$ whereis mc mc: /usr/bin/mc admin@i-0fa82171f11fb6464:~$ cd /usr/local/ bin/ etc/ games/ include/ lib/ man/ sbin/ share/ src/ admin@i-0fa82171f11fb6464:~$ cd /usr/local/bin/ admin@i-0fa82171f11fb6464:/usr/local/bin$ ls flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -ah . .. flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -lah total 12K drwxr-xr-x 2 root root 4.0K Sep 24 23:20 . drwxr-xr-x 10 root root 4.0K Sep 20 15:53 .. -rwxr-xr-x 1 root root 208 Sep 24 23:20 flask admin@i-0fa82171f11fb6464:/usr/local/bin$ where ping
paris/i-0fa82171f11fb6464 06:10
by SadServers#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: [1]+ Stopped sudo cat webserver.py admin@i-03f882b0543e6e7c2:~$ ls -l webserver.py -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-03f882b0543e6e7c2:~$ vi webserver.py [2]+ Stopped vi webserver.py admin@i-03f882b0543e6e7c2:~$ local local locale locale-gen localectl localedef admin@i-03f882b0543e6e7c2:~$ curl: