Previously Chris wrote: > Well actually, the program doesn't modify the files, it just reads the > passwd files using getpwname and getspnam....does this still count?? No, that is fine. We'll just bug you later when we'll move to PAM :) > Anyway, if I shouldn't access these files, what is the best way to read > and possibly change password information?? To change password information always call passwd. To read use the getpw* and getsp* routined for users, and getgr* for groups. Wichert. -- ============================================================================== This combination of bytes forms a message written to you by Wichert Akkerman. E-Mail: wakkerma@wi.LeidenUniv.nl WWW: http://www.wi.leidenuniv.nl/~wichert/
Attachment:
pgpQlceXOgOCH.pgp
Description: PGP signature