Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* HELP: Can't encrypt password properly
@ 1997-06-03 14:50 David A. Waltermire
  0 siblings, 0 replies; only message in thread
From: David A. Waltermire @ 1997-06-03 14:50 UTC (permalink / raw)


I am writing a cgi program in ANSI style C on a pc164 Alpha running
RedHat 4.0.  I use getpw() to get the users password entry which is
encrypted.  I use the first two chars as the salt for crypt() to encrypt
the inputed password.  When I compare the two encrypted passwords, they
should match.  Unfortunatly, they don't.  This same code worked on an
intel box.  Whats going on here?

--
David A. Waltermire
dwalt@redrose.net
Systems Administrator
Red Rose SuperNet

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-03 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-03 14:50 HELP: Can't encrypt password properly David A. Waltermire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox