>Hi, my name is Amaranta, and i'm from >english, so i'm trying, but i'm not that handy though, so please be
patience. >you please could send it to me. I need to see an example of how to
capture the password > of the user of the keyboard before it apears in the screen (like
when someone make su). I am assuming that you are writing a program that requires a user to
enter a password and you just want to ensure that the password is not
displayed. If that is the case, here is how you would do it in bash. Please
note that the read command is a bash shell variable so you will have to read
the bash man pages for more information (`man bash` …I swear the devs do
this on purpose sometimes…heh heh :) #!/bin/sh read -rsp "Enter Password:" pass echo "" echo $pass As for other languages, I use the following phrase to do google
searches whenever I need this info “Mask password entry in <insert
language>”. Here are a few for you since you didn’t say what
language you are using: C/C++ : http://www.dreamincode.net/forums/showtopic57944.htm Java : http://java.sun.com/developer/technicalArticles/Security/pwordmask/ Hope that helps. Have fun! ~S~ |