This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
How do I stop Ctrl+t on startup
Started by diamondpumpkin, 29 April 2015 - 07:42 PMPosted 29 April 2015 - 09:42 PM
I have a password lock on a computer and an easy way to bypass it without knowing the code for it is holding Control and t on startup. I don't want people to do this, how do I make it so they can't. Or so they need a disk drive next to it?
Posted 29 April 2015 - 10:59 PM
os.pullEvent = os.pullEventRaw
Put this on top of your script.
However, the most secure password lock involves using a monitor, so that the computer itself cannot be interacted with. This prevents people from placing a disk drive and using a disk with a blank startup on it.
Posted 29 April 2015 - 11:43 PM
I am on a modpack, I have a block called Reinforced stone. It can not be broke, so I place the computer in the some of it and can't place a disk drive in front of it so I think I'm okay.
Posted 30 April 2015 - 12:20 AM
However, the most secure password lock involves using a monitor, so that the computer itself cannot be interacted with. This prevents people from placing a disk drive and using a disk with a blank startup on it.
Dunno why this never occurred to me before (well, before about a week ago), but if you can touch a monitor attached to a given computer, then that's sufficient to break said monitor, replace it with some more network cables and modems, hook up a disk drive / computer / another monitor, remotely reboot the original computer… well, I'm sure you get the idea.
and can't place a disk drive in front of it
Why not? Do you have some sort of re-enforced half-block there?
Posted 30 April 2015 - 12:28 AM
However, the most secure password lock involves using a monitor, so that the computer itself cannot be interacted with. This prevents people from placing a disk drive and using a disk with a blank startup on it.
Dunno why this never occurred to me before (well, before about a week ago), but if you can touch a monitor attached to a given computer, then that's sufficient to break said monitor, replace it with some more network cables and modems, hook up a disk drive / computer / another monitor, remotely reboot the original computer… well, I'm sure you get the idea.and can't place a disk drive in front of it
Why not? Do you have some sort of re-enforced half-block there?
I heard on a video I watch either that or the forums that you can't place a disk drive in front of it. Either way, it wouldn't work very well because you can't access the computer after placing the diskdrive…
Posted 30 April 2015 - 12:49 AM
That just means you need a turtle to help you. Run a script that waits five seconds, then places a disk drive and puts a disk in it. You can start the script on the turtle, open the computer's interface, and then the disk drive will be placed.
Posted 30 April 2015 - 01:13 AM
I was thinking of a wired modem, but that works too.
Posted 30 April 2015 - 02:16 AM
Ehh, since reinforced stone looks like stone I will put a stone pressureplate down with a command block that has: kill @a[r=5,name=!diamondpumpkin]
Posted 30 April 2015 - 02:30 AM
Dunno why this never occurred to me before (well, before about a week ago), but if you can touch a monitor attached to a given computer, then that's sufficient to break said monitor, replace it with some more network cables and modems, hook up a disk drive / computer / another monitor, remotely reboot the original computer… well, I'm sure you get the idea.
Some protection plugins allow building, but not destroying. Any sort of password-protection is insecure if you can break blocks - just mine through the door.
Well, maybe with a command computer + modem, your walls made out of bedrock, AES encryption, rolling code generator, and a wireless pocket computer. That'd be insanely high security though.
Posted 30 April 2015 - 02:36 AM
Computers actually check for a disk drive in a certain order, and they only run the startup from the first drive they come across. So you could put a drive under the computer (I believe it checks bottom first), and use cables to wire to the monitor. This way unless they gain access to the disk drive under the computer it is completely safe, and you can use cables to move the computer far enough away that getting to it is pretty much out of the question.
edit: 500th post :D/>
edit: 500th post :D/>
Edited on 30 April 2015 - 12:38 AM