Console locker
Features:
- Locks console with a password
- Blocks every command(except
stop) before unlocking - Admin can change password with a simple command
- Password stored as
SHA-256hash - Locales support
- Allowed commands in config
Commands:
console-lock(clock,cl) - lock consoleconsole-lock setpw(pw,set) - set or change passwordconsole-lock <password>- unlock console
Instructions
- You can change password using java property
consoleLockPassword.
java -DconsoleLockPassword=<hash> -jar sponge.jar
Where <hash> - password SHA-256 hash.
- Write
console-lock <password>to unlock console. - You can change password after unlocking,
console-lock setpw <password>. - To lock console, write
console-lock. - If password wasn’t set by java property, console will not be locked, but you can set password using
console-lock setpw <password>command.
Changelog:
1.1
- Startup lock fix
1.0
- Has locale support
- Allowed commands in config
- Password taken from java property or config
0.1
- Release