Possible Duplicate:
Hide password input on terminal
please give me a solution for a password program in Linux using C language .
when we entering the first letter of password the window should be shows
password:*-
instead of the entered letter.
when we enter the next character the window should be shows
password**-
up to 8 character and also verify the password.