Operating System - HP-UX
1829185 Members
3343 Online
109986 Solutions
New Discussion

Compiling Sudo with Pam on 10.20

 
Daniel Correa
Advisor

Compiling Sudo with Pam on 10.20

Hi,

I'm trying to compile sudo 1.6.6 with pam on a 10.20 system. I get the error { cpp: "pam.c", line 63: error 4036: Can't open include file 'security/pam_appl.h }. These libraries exist on 11.0 but not 10.20. Can I copy the libraries from 11.0 or do I need a specific 10.20 version? Are they any other files I would need?

Thanks!
Dan

6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Compiling Sudo with Pam on 10.20

Dan,

Would a pre-compiled depot do?

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/



Pete


Pete
Sridhar Bhaskarla
Honored Contributor

Re: Compiling Sudo with Pam on 10.20

Dan,

PAM is very basic and is parf of CDE on 10.20. So, you may not get the include files on 10.20 as any thing related to development is not supported on that OS version.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Daniel Correa
Advisor

Re: Compiling Sudo with Pam on 10.20

Pete,

Would the version have "pam" authentication as part of the compile?
Pete Randall
Outstanding Contributor

Re: Compiling Sudo with Pam on 10.20

Dan,

I'm not sure. There's no indication one way or the other that I can tell. Perhaps you could download it and try it?


Pete


Pete
Daniel Correa
Advisor

Re: Compiling Sudo with Pam on 10.20

Pete,

I tried the download but the version does not have "pam" enabled. Thanks anyway for the suggestion.
Pete Randall
Outstanding Contributor

Re: Compiling Sudo with Pam on 10.20

Sorry, Dan. It was kind of a shot in the dark.


Pete


Pete