Skip to content

Instantly share code, notes, and snippets.

@seqizz
Last active December 3, 2024 19:11
Show Gist options
  • Select an option

  • Save seqizz/a47fd30f33b154e829876dfddca3ca0a to your computer and use it in GitHub Desktop.

Select an option

Save seqizz/a47fd30f33b154e829876dfddca3ca0a to your computer and use it in GitHub Desktop.
Answer to fun questions

This is just my answer template for "Fun questions" section on sysadmin interview repo: https://github.com/chassing/linux-sysadmin-interview-questions#fun

  • A careless sysadmin executes the following command: chmod 444 /bin/chmod - what do you do to fix this? First of all, I'd get the root privileges from that person away. As answer, I have 2 solutions:
  1. I'd create a dumb FS (like fat) on a loopback device and copy this file to there, since every file will have executable rights there.
  2. There is no problem, system is running without problems, so no need to fix.
  • I've lost my root password, what can I do?
  1. Slap yourself while looking to mirror.
  2. Start using password manager which you can backup.
  3. Boot the system on rescue mode and reset the password.
  • I've rebooted a remote server but after 10 minutes I'm still not able to ssh into it, what can be wrong?
  • If you were stuck on a desert island with only 5 command-line utilities, which would you choose?
  • You come across a random computer and it appears to be a command console for the universe. What is the first thing you type?
  • Tell me about a creative way that you've used SSH?
  • You have deleted by error a running script, what could you do to restore it?
  • What will happen on 19 January 2038?
  • How to reboot server when reboot command is not responding?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment