The safe cracker door is made of two programs, safe-door which is the actual door game and safe-tool which is a tool for the sysop.
The safe-door program should be called with the full filename and path to the configuration file. See installation for details on how to set it up.
The safe-tool is to be used by the sysop and is a tool to reset the user who has cracked the safe. The sysop must be in the same Unix group as your bbs users. On MBSE BBS user “mbse” would be a good choice. Call the safe-tool with the full filename and path to the configuration file. The tool can also be used to display the current data.
mbse@router:~/safe-door$ safe-tool /usr/local/etc/safe/safe-config SAFE-TOOL v0.9.6 Copyright (C) 2003-2005 Michiel Broek, All Rights Reserved Safe combination : 1 2 3 Maximum tries ...: 4 Maximum number ..: 20 Prize ...........: Free Access for a year! Date User Trys Opened ------------ ------------------------------------ ---- ------ 03-09-2003 Michiel Broek 1 No Nobody has cracked the safe yet! mbse@router:~/safe-door$
If there is a user who has cracked the safe, you get the option to reset. Remember to set a new combination in the config file.