Hi, I am trying to install openssh on an HP: acro-284> uname -a HP-UX niit1 A.09.01 A 9000/730 2015353714 two-user license There were a couple of problems during compiling: 1. The system doesn't have seteuid or setreuid. It has setresuid. I had to define HAVE_SETREUID and modify bsd-misc.c to be: #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) { struct utimbuf tv ; tv.actime = times[0].tv_sec ; tv.modtime = times[1].tv_sec ; return(utime(path,&tv)) ; } These changes got make to work, but make install doesn't work. It fails when making the host-key: # make install ... ... if [ -z "" ] ; then \ if [ -f "/usr/local/etc/ssh_host_key" ] ; then \ echo "/usr/local/etc/ssh_host_key already exists, skipping." ; \ else \ ./ssh-keygen -b 1024 -f /usr/local/etc/ssh_host_key -N "" ; \ fi ; \ if [ -f /usr/local/etc/ssh_host_dsa_key ] ; then \ echo "/usr/local/etc/ssh_host_dsa_key already exists, skipping." ; \ else \ ./ssh-keygen -d -f /usr/local/etc/ssh_host_dsa_key -N "" ; \ fi ; \ fi ; PRNG initialisation failed -- exiting. *** Error code 255 Stop. # Any idea what I can do to make it work? Guenther --------------------------------------------------- Dr. Guenther Eichhorn | gei at cfa.harvard.edu Project Scientist | Phone: 617-495-7260 Astrophysics Data System | Fax: 617-496-7577 Smithsonian Astrophysical Observatory 60 Garden Street, MS-83, Cambridge, MA 02138, USA