search for: hpsecur

Displaying 5 results from an estimated 5 matches for "hpsecur".

Did you mean: secur
2000 Feb 26
1
OpenSSH on HP-UX 11 with TCB
.... /* Return list of PAM environment strings */ char **fetch_pam_environment(void) { #ifndef _HPUX_SOURCE /* HP-UX has not implemented this */ return(pam_getenvlist((pam_handle_t *)pamh)); #else return(NULL); #endif } Solution for long passwords: Need a couple of includes, namely <hpsecurity.h> and <prot.h> Added the following to defines.h #ifdef HAVE_HPUX_TRUSTED_SYSTEM_PW # include <hpsecurity.h> # include <prot.h> #endif Modified auth-passwd.c (not the most elegant fix, assumed HP will not use MD5 passwds if trusted). Code below: #ifdef HAVE_MD5_PASSWORDS...
2000 Nov 22
0
problem with installing openssh on HP/UX
...if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) int seteuid(uid_t euid) { /* return(setreuid(-1,euid));*/ return(setresuid(-1,euid,-1)); } #endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */ 2. The file auth-passwd.c tries to include #ifdef __hpux # include <hpsecurity.h> # include <prot.h> #endif and further down uses functions that don't exist on the system. I prevented this by: #undef __hpux 3. The system doesn't have the function utimes. I put the following in bsd-misc.c: int utimes(const char *path, const struct timeval *times) {...
1998 Mar 26
1
Err...HP-UX 10.20 compile problems of samba-1.9.18p3
...des.h", line 292: error 4036: Can't open include file 'sys/filio.h'. cpp: "includes.h", line 293: error 4036: Can't open include file 'sys/sockio.h'. *** Error exit code 1 Stop. Using GCC 2.7.2.2, I get: Compiling util.c In file included from /usr/include/hpsecurity.h:22, from /usr/include/shadow.h:8, from includes.h:197, from util.c:22: /usr/include/values.h:27: warning: `MAXINT' redefined /mbari/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.7.2.2.f.2/include/sys/param.h:45: warning: this is the location of...
2001 Jun 07
0
Patch for systems with no setreuid()
...1)); +} +#endif /* !defined(HAVE_SETREUID) && defined(HAVE_SETRESUID) */ + #if !defined(HAVE_SETEGID) && defined(HAVE_SETRESGID) int setegid(uid_t egid) { --cut-here-- Of course on this particular platform I need other patches (to turn off HP-UX specific stuff which are missing (hpsecurity etc)), but the above might be useful elsewhere... -- Jon Peatfield, DAMTP, Computer Officer, University of Cambridge Telephone: +44 1223 3 37852 Mail: J.S.Peatfield at damtp.cam.ac.uk
2003 Jul 03
0
AIX cleanups: includes and arguments
...quot;auth.h" +#include "canohost.h" #if !defined(HAVE_OSF_SIA) /* Don't need any of these headers for the SIA cases */ # ifdef HAVE_CRYPT_H # include <crypt.h> # endif -# ifdef WITH_AIXAUTHENTICATE -# include <login.h> -# endif # ifdef __hpux # include <hpsecurity.h> # include <prot.h> @@ -150,7 +148,7 @@ } # endif # ifdef WITH_AIXAUTHENTICATE - authsuccess = (authenticate(pw->pw_name,password,&reenter,&authmsg) == 0); + authsuccess = (authenticate((char *)pw->pw_name,password,&reenter,&authmsg) == 0); if (authsucc...