5 lines
131 B
Lua
5 lines
131 B
Lua
|
local tA = {...}
|
||
|
local s=os.gensalt(16)
|
||
|
io.write("New password for "..tA[1]..": ")
|
||
|
os.setuser(tA[1],sha.sha256(io.read("*")..s),s)
|