Re: pam_exec script integration in a package

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
Am 18.05.26 um 16:14 schrieb PICCA Frederic-Emmanuel:
> 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 ?

See pam-auth-update (provided by libpam-runtime).

https://manpages.debian.org/unstable/libpam-runtime/pam-auth-update.8.en.html
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmoLdVAFAwAAAAAACgkQauHfDWCPItwg
rA/6A3zObcvkiZJH+83cMEPZ/Zu18SngULwMk/0/gC+lBwCsu6d8Syh2KoxzUGS8h0uZi7cehgOE
7WDaOoOU184Cu1fLxUuXgdi42LZUGl+D1tZczl2T5+2YC5/HY2hd44Wp2AFMEYvbgsLsxNWBybGo
YVWbS+gS7OWm4PyChlqJBXPV4dFFAtlMdz4bcXrJXnllymWblzd0VWCZJgl4ZvVH059uHaQhLrMn
FDdo0J7/4GOafJBSVWotBMUBUmYNhV6D8vQf6oPXidVwK/OqWED+uGQtKcPUbwGvEvdWxBx21mSU
dF+juVZXg9gOSnPmQBfxKk+fjWlLaIPDCXqdcoRN1psXXs+1ki4b8k44Rv7ChuNQd8mvV9/M3F6v
lioEN+tHlxRh2Z0zoArMKsicbbz26pVQPu+rkh0lsZw9LWWMmFz7iyWSZjJ8DvrPz+qLcQxHyTM7
joR0ywbGMr8cRkoYijpdnDYk9/4dzktRGqWIZBgdRVNZ7zdGB5DATzrgEdlxKY+80uveJJR2T9iI
ES3BvxVsc/1SEFe5R0+Foby+3ivz5+rJpS+OC8v5gJJDC3sVPqo14O+2I412XRtA6vcIPq9stSdM
wAvo0BPokLy50dRFHdwAQ3lhrSpz8q0T4I3wTnaPxWmRjNRoEX2qt3NsAnqMksGWmXDjwfhsoR9m
0o4=
=fEb8
-----END PGP SIGNATURE-----
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.