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