<div dir="ltr"><div><br></div><div>configured with:</div><div>./configure  --disable-pam --disable-syslog --disable-shadow \</div><div>             --disable-lastlog --disable-utmp --disable-utmpx \</div><div>             --disable-wtmp --disable-wtmpx --disable-loginfunc \</div><div>             --disable-pututline --disable-pututxline </div><div>             </div><div><br></div><div>For Linux:   no problems</div><div><br></div><div>For AIX:</div><div><br></div><div>I could not get dropbear run as a normal user with the generated config.h</div><div>After changes in sshpty.c I got it working for AIX, basicly it does now:</div><div><br></div><div>master = open (&quot;/dev/ptc&quot;, O_RDWR | O_NOCTTY);</div><div>if (grantpt (master))   goto fail;</div><div>if (unlockpt (master))  goto fail;</div><div>slave_name = ptsname (master);</div><div>slave = open (slave_name, O_RDWR | O_NOCTTY);</div><div>if (termp) tcsetattr (slave, TCSAFLUSH, termp);</div><div>if (winp)  ioctl (slave, TIOCSWINSZ, winp);</div><div><br></div><div>I also disabled the pty_release function which otherwise fails changing the ownership back to root</div><div>After this, you can run dropbear as a normal user.</div><div><br></div><div><br></div><div>For HPux:</div><div>Compiles fine, but when running dropbear and connecting to it:</div><div>-  getnameinfo() in netio.c   failed lookup: address family was not recognised</div><div>   using NI_NUMERICHOST | NI_NUMERICSERV   so without host_lookup </div><div>-  pty error, after open on /dev/ptmx fails on grandpt  even when before that doing a signal SIGCHLD to SiG_DFL</div><div><br></div><div>Unable to get it working on HPux</div><div>If someone has got dropbear working on HPux, some help will be appreciated.</div><div><br></div><div>Hans</div><div><br></div></div>