pam_exec script integration in a package

PICCA Frederic-Emmanuel <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <PA3P195MB2769A5BD1C1BC1441A95636FED032@PA3P195MB2769.EURP195.PROD.OUTLOOK.COM>
Hello, 

I have a package which need to provide a pam script which will be executed via

session optional pam_exec.so /usr/share/<package>/create_persistant_area_dir.sh

what is the proper way to add this line in the pam global configuration at the installation of the package ?

thanks for your help

Frederic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.