I want to build a dedicated machine I can use for testing candidates in our company. The machine should run Linux with SSH server listening for connections.
I would like to send each candidate a user and password(the same one).
Upon connection, he will be presented with a message on how to proceed with the test and submit his work. If he disconnect, all the changes will reverted, files, history, everything needs to be erased.
I will also like to support multiple users connecting with the same credentials. so I guess I need to implement some kind of virtualized environement that is created on the fly for each SSH connection.
There is actually an implementation of this in Internet war games ( such as this http://overthewire.org/wargames/bandit/bandit0.html)
Any idea on how to achieve that ?