I'm setting up beginner CTF (Capture the flag) in a Linux environment. I will have questions that will tell the user to run specific commands.
The issue I'm having is restricting the user to a directory and only being able to run certain commands.
For example Players need to change the directory and then use "ls" to find the flag and complete the challenge.
But I don't want a player to see other directories in the server or people able to cd where there not supposed to go.
Any help would be much appreciated.