startup.lua

while true do
    term.clear()
    term.setCursorPos(10,5)
    write("password: ")
    local pass = read()
    if pass == "41344134asdf" then
        redstone.setOutput("right", true)
        sleep(2.3)
        redstone.setOutput("right", false)
    end
end