Advertisement
andmalv

[Tip] Solicitar contraseña de usuario hasta que coincidan

Mar 24th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. tput sc
  2. while ( ! sudo passwd $user ); do
  3.     tput rc
  4.     tput ed
  5.     echo -en "\n\n\t [x] Las contraseñas no coinciden."
  6.     sleep 2
  7.     tput rc
  8.     tput ed
  9. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement