site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1551848090; bh=RwsvPC/yqqruFk1Rj1M3GCBUrFhHWLqcxUeo72lYPgg=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=CiBmDrOLY1cktYUBzsWcAB/RVrykplYZ19/YYGdiG42fLhqFAgj7zoTaIecpJNB1H ZrwIATZwyNhJl++hGXzosvlYdSxa4Dr7NIFrn36wTioholJkvWcHlc5aydjZ3HKA5D 6BlmLwBtZnFMmQD7WHb3Kmp9PLM5MCFIGgHTpVbGl+zaS2OgS6qd+GUdFptFESy0uK XP7WwflC5zCYaQtmCk8uyQwdVPrIjiCF0ErLUoHbXB4bjfAv/j9yQsq0T83yR/inAr J+sN/zvMD8yaZdtqVp6DtDj2Kf/Zald/5Ja9kIz84gScrCMblEio/H6x/C838qz1L/ bzvCVWQIpivbQ== Is it trying to use a privileged port (I.e., below 1024)? If so, the process must be running as root, which is why it works with sudo. -- John Francini <francini@mac.com> "I have come to the conclusion that one useless man is called a disgrace; that two are called a law firm; and that three or more become a Congress. And by God I have had *this* Congress!" --John Adams
On Mar 5, 2019, at 16:43, Sandor Szatmari <admin.szatmari.net@gmail.com> wrote:
I have a need to build rlogin to allow it to connect to a rlogin server accessible on a non-standard specific port.
I downloaded the source to match the OS release running on the host machine (10.11.6) and ran make in the rlogin dir. It built, but fails to run with rcmd: socket: Operation not permitted. It will run and connect if run with sudo, so I’m assuming it’s a permissions issue.
I saw the entitlements.plist containing com.apple.private.network.reserved-port and corresponding codesign line in the makefile.
Can anyone give me any guidance on how to build this properly?
Thanks, Sandor _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/francini%40mac.com
This email sent to francini@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com