Hi
This shell example was found on RB Nug
function check_sudo_password(password as string) as boolean
dim sh as shell
sh=new shell
sh.execute “echo ‘”+password+”‘ | sudo echo ‘working’”
return instr(sh.result,”working”)<>0
end function
Test it to know if it works
Cya ![]()
Leave a Reply
You must be logged in to post a comment.