LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   password access (https://www.linuxquestions.org/questions/programming-9/password-access-271444/)

prasad514 12-29-2004 03:59 AM

password access
 
hello all
iam doing project on pop3. In authorization phase i want to check
both username and password. I have used built-in structure (struct passwd *pwd) to get username and password.My problem
is iam getting username but the password is in encryted form (x).
Iam not able to compare the encrypted password with user entered password.
please give me some suggestions regarding this problem

prasad

masand 12-29-2004 04:03 AM

hi there

there is a program for password in the redhat/fedora linux
here
/usr/share/doc/HTML/en/kdevelop/reference/C/EXAMPLES/password.c

if u don't have that i will send u one

it used curses.h and allows to to enter password and store in it some kind of array/string

regards

prasad514 12-30-2004 11:56 PM

Re.password access
 
thanks for giving suggestions. I searched in my system
for the password.c file but it is not there in my system.
Iam running redhat fedora 1.

masand 12-31-2004 12:56 AM

mail me from this forum with ur email-id
i will send u the one i have

regards


All times are GMT -5. The time now is 03:29 AM.