Rossillo.net
Linux, Open Source, Development & Technology

Solaris

Blog entries about Sun Solaris and Open Solaris.

Simple Privileged Port Binding on Solaris

Bind daemons to a privileged port without running as root

Binding to a privileged port (1-1024) on UNIX and Linux operating systems typically requires root permissions. However, for security reasons, you want to avoid running daemons with as root. This typically means UNIX daemons are coded to start as root to bind to a privileged port, then drop to a less privileged user to service requests by executing a setuid() function call. ... read article

Copyright © 2009 Scott Rossillo