This is a discussion topic for the Ore project, Console locker. View the full project on Ore for downloads and more information.
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-256
hash - Locales support
- Allowed commands in config
Commands:
-
console-lock
(clock
,cl
) - lock console -
console-lock setpw
(pw
,set
) - set or change password -
console-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