1834308 Members
2899 Online
110066 Solutions
New Discussion

Re: PAM module custom

 
stefano_20
Occasional Contributor

PAM module custom

Has someone make a custom PAM module?
Can someone send me an example about it?
It's very important.

Thanks in advance
3 REPLIES 3
stefano_20
Occasional Contributor

Re: PAM module custom

Links that you send me are very interesting, but there aren't example of custom PAM module to build on HP.
I have write custom PAM module for Solaris and I am porting my module on HP.
On Solaris they work correctly.
I compiled my module on HP successfully but they don't work.

It's possible that PAM on HP and Solaris don't work at the same mode?
Examples of custom PAM module on HP that work correctly can be usefull for me.
Thanks in advance.
David Lodge
Trusted Contributor

Re: PAM module custom

The version of PAM running on HP is a direct port of the Solaris one.

There are a few differences in the way 'trusted' systems work - Solaris still uses the (poor) /etc/shadow concept; whereas HPUX uses a proper trusted computing base (/tcb). But these shouldn't cause many hassles.

The only time I did anything with PAM was to port passwdqc to HP-UX, from the Solaris version - this only required very few changes
(http://www.openwall.com/passwdqc/)

Have a look there; as the code works on the 3 main systems running PAM (Solaris, HPUX and Linux)

dave