LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2004, 03:59 AM   #1
prasad514
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 4

Rep: Reputation: 0
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
 
Old 12-29-2004, 04:03 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 12-30-2004, 11:56 PM   #3
prasad514
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 12-31-2004, 12:56 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

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

regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kwallet password access Toonses82 Linux - Software 0 01-17-2005 09:21 AM
password failures on samba access DaddyBad Linux - Newbie 5 09-08-2004 02:34 AM
Password protect internet access? BruceCadieux Linux - Security 1 08-16-2004 09:36 PM
Root password for internet access jsin Red Hat 2 01-02-2004 03:29 AM
password-less ssh access? soup Slackware 6 07-10-2003 01:49 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration