Questions for Linux Hunt (Treasure hunt based on Linux) conducted by ACM Student chapter of TKMCE, Kollam
##Requirements
- Ubuntu/Debian distribution. 16.04 and Jessie preferred
vim-gui-common
andvim-runtime
packages should be pre installed- The script was written for our computer lab systems. You may need to change the directory path in
deploy.sh
andrev.sh
accordingly. The script requires two users on the system. The scripts shall be executed from one user with superuser privileges. The game shall be played by logging into the other user account. In the script, the account with superuser privileges isuser
and the account from which game is played isstudents
. It may be changed depending on your needs.
##Installation
- Copy the files
deploy.sh
andus-remap
to home folder in 'user' account - Execute the following in terminal in home folder of
user
chmod +x deploy.sh
mv us-remap us
sudo ./deploy.sh
- The game is set and can now be played from the 'students' account. The first clue is '"Boot up quietly"'
- To restore the system back to its original state after the hunt is over. Copy
rev.sh
andus-org
to home folder ofuser
and execute the following
chmod +x rev.sh
mv us-org us
sudo ./rev.sh
###Levels
The hunt has total 4 levels and the aim is to obtain a 9 character alphanumeric key. First one to find all the 4 keys win the game. All keys and hints are in the format Key:88888888_Next:cluefornextlevel
####Level 1
The clue is in the boot message. The boot messages flash all in green [OK]
, except the key which flashes in red with status [FAILED]
.
####Level 2
Open Vi
Editor and you will have to find the .vimrc
file and next key will be in that file
####Level 3
Level is in /etc/default/grub
####Level 4
Final level, can be located in /usr/bin/Clue1