Lurker News
Hello, I'm building SadServers.com, a SaaS where users can test their Linux troubleshooting skills on real Linux servers in a "Capture the Flag" fashion.

I hope this is useful, to learn more about the project please see https://github.com/fduran/sadservers

Comments (128) 30 threads

Earlier comments
mewse-hn1 reply#
Completed the first challenge and it was a lot of fun - spoiler I've never had to use the 'lsof' command before.
nobody9999#
>Completed the first challenge and it was a lot of fun - spoiler I've never had to use the 'lsof' command before.

I've been waiting a while for the "sad server" to come up for me and read the scenario (saint john) whilst waiting.
lsof was the first thing that came to mind after reading the scenario.
I guess that once I actually get a "sad server" I'll make it "happy" quickly :)

yapril#
Can I download the images so I could run it on my own machine ? I'd really appreciate, I've got an interview very soon :)
bravetraveler1 reply#
Commenting to give this a try later, I've routinely been the person to get these kinds of gremlins escalated

I've long wanted for some sort of mock, "things are broken - I want to see how you think" approach for sysad

shagie1 reply#
In the "tricks of hacker news" -

     188 points by fduran 3 hours ago | unvote | flag | hide | past | favorite | 68 comments
If you click 'favorite' it will save it to your favorites list. This is a publicly visible list - yours is https://news.ycombinator.com/favorites?id=bravetraveler and mine is https://news.ycombinator.com/favorites?id=shagie which makes it easy to get a bookmark type style functionality within HN.

As I tend to favorite less often than I comment, it makes it easier to find those things I want to find again.

bravetraveler#
Much appreciated! I'm woeful about using not using features like this, it's a character fault at this point.

The HN interface too tends to just have my eyes filter out those links... but that's no defense.
Especially good to know that it's publicly viewable!
Not that I'm particularly worried of being outed by anything I favorite here, it's just good to be mindful of the data we make and where it goes.

yubiox3 replies#
Can't get to the first problem because of HN hug but anyway there are fake ways to "solve" it like renaming the logfile (what they test for solved is provided).
Timja1 reply#
Depends on how the broken program writes to the log.

If it does

    while true; do echo hello >> bad.log; done
Then renaming bad.log will not solve the challenge.
teddyh1 reply#
Replace it with a symlink to /dev/null! Or /dev/full if we feel like it.

(Yes, these are bad solutions, since the instructions explicitly said to stop the process which is writing.)

loa_in_1 reply#
It will still keep writing to an open inode

Continue this thread — 1 reply

fduran#
There are ways to cheat but not so simple; there's a script that checks for the solution and a hash of the script is checked for modifications.
BossingAround#
This is a self-test, not a certification. The goal is not to defeat the verification goal, but to learn something. So yeah, it's perfectly acceptable that the tests are not bullet-proof.

Load more comments