Hey,
I want to lock the computer from any use so like have a program running and it to remove the ability to type. Whats the code for that because I already know the code to stop people terminating it, also I would like the code to stop the rebooting of it if possible. Cheers!
Locking Computers
Started by StevenW129, Sep 17 2012 07:13 PM
6 replies to this topic
#1
Posted 17 September 2012 - 07:13 PM
#2
Posted 17 September 2012 - 07:15 PM
no way to override that from in cc. Not positive if it's even handled in the lua bios code or in java, as the idea is that terminate is a software-thing, like force-quitting a program, while reboot is a hardware thing, like physically turning the computer off and back on.
#3
Posted 17 September 2012 - 07:16 PM
Don't think there is a code to disallow rebooting/shutdown. But while the code is running, people shouldn't be able to type.
#4
Posted 17 September 2012 - 07:18 PM
I have a monitor with text in the startup and i wanna be able to remove the ability to type whiles its running
#5
Posted 17 September 2012 - 07:21 PM
Use this to make it untypeable until the computer restarts.
sleep()
Or use this for an amount of seconds.
sleep(1)
sleep()
Or use this for an amount of seconds.
sleep(1)
#6
Posted 19 September 2012 - 10:36 AM
type "edit reboot"
In program, type
term.clear()
term.setCursorPos(1,1)
print("Restarts are unavailable.")
In program, type
term.clear()
term.setCursorPos(1,1)
print("Restarts are unavailable.")
#7
Posted 19 September 2012 - 10:48 AM
ImNutzForCoal, on 19 September 2012 - 10:36 AM, said:
type "edit reboot"
In program, type
term.clear()
term.setCursorPos(1,1)
print("Restarts are unavailable.")
In program, type
term.clear()
term.setCursorPos(1,1)
print("Restarts are unavailable.")
That won't work if they use ctrl+r or ctrl+s. There isn't anything you can really do to prevent someone using those since they are hard coded into CC.
The best thing to do is setup ctrl+t and disk boot protection on that computer. That way if the do shut it down or restart it the worse thing that can happen is the program starts over.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











