Advertisement
Berndu

OpenComputers - setPW.lua

Dec 15th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. local fs = require("filesystem")
  2.  
  3. print("Enter new password: ")
  4. local pw = io.read()
  5.  
  6. file = io.open("/home/pw.psd", "w")
  7. file:write(tostring(pw))
  8. file:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement