6 lines
154 B
Lua
6 lines
154 B
Lua
local tA = {...}
|
|
local s=os.gensalt(16)
|
|
io.write("Password for "..tA[1]..": ")
|
|
local res = os.su(tA[1],io.read("*"))
|
|
if not res then print("Failed.") end
|