Add pwdchk function(undone)