authentication

machg4

Registered
I'm wondering, how might I go about having a password-checking function in my program (in c/c++) for an OS X user? Like the "login" program -- a user enters a login name and a password, and the program checks it with (netinfo) to see if the password matches the encrypted one stored away somewhere...what I'm interested in is writing a "login" or "su"-like program. Any suggestions? Heh, also... I'm interested in socket programming (for *nix/OS X) -- I've made simple read/write programs so far, anyone know about some guides/texts/source code I can obtain (c/c++)?
 
Back
Top