Marco Sommella wrote: > Hi, > i need for my graduation project to add 2 items in PAM. I try to add 2 > elements into the struct pam_inames which is in file "pam_framework.c" and > add 2 new #define in pam_appl.h. After correct compiling (using ON src: > bldenv opensolaris.sh and dmake in directory "libpam") and installed files > the system it's still impossible do pam_set_item on this new 2 items. Where > i'm wrong ?
Firstly I'm concerned about PAM items getting added to the framework. Based on my experience in the majority of causes this is the wrong answer to the problem. However if I knew what it was you were doing with these items I would be able to make a more complete assessment. From the code perspective you also need to update pam_set_item() in pam_framework.c to tell the framework how to store the new item. -- Darren J Moffat _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code