added root_passwd functions