|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Todd Lyons (todd
mrball.net)Date: Wed May 08 2002 - 12:12:23 CDT
Christian Belisle wanted us to know:
>> problem is when you create a new user, it puts the password into the
>> directory in clear text.
>> I have been trying to hack the crypt() function into it (and I have, and
>I'll work on this soon. Thank you Todd :-)
Can you look at the patch that I threw together? I am 50% confident
that the code does what it's supposed to do. My problem is that I'm
confident that the code is also crap. How would I do it better than
this? Declaring character arrays bigger than what I know they will be
is the only way I know (AND use sizeof() to limit overruns). What
other preferred method exists? I can't wait to see what a patch of
yours looks like.
>btw, sorry for the late... I saw your email but forgot to reply :(
Being busy is part of the Linux culture methinks :)
-- Blue skies... Todd http://www.mrball.net Public key: http://www.mrball.net/todd.asc There are only 10 types of people in this world. Those who understand binary and those who don't.
- text/plain attachment: patch
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org
iD8DBQE82Vx3IBT1264ScBURAsYTAKCXo5grp/bpXULuBNcflcztv26zhQCginPG rLJOxIXv5NKKs20NC62f8SE= =cedX -----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]