From owner-freebsd-net@FreeBSD.ORG Thu Jun 23 03:22:16 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8921016A41C for ; Thu, 23 Jun 2005 03:22:16 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6432743D1D for ; Thu, 23 Jun 2005 03:22:16 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from SMILEY (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id C444119F3B; Wed, 22 Jun 2005 20:23:55 -0700 (PDT) From: "Darren Pilgrim" To: "'Mrad James Deane'" , Date: Wed, 22 Jun 2005 20:22:13 -0700 Message-ID: <000401c577a2$c095b090$0b2a15ac@SMILEY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: Importance: Normal Cc: Subject: RE: www user than root X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 03:22:16 -0000 From: Mrad James Deane > > hello i want to know how the www user with uid:80 can print > on a priviliged port like 80 rather the root user im very > in trouble i did not find a solution yet mac_portacl is one > but it is very experimental please help. thanks Most daemons that bind to "priveleged" ports and run as a non-root uid, start as root, then change the effective UID after binding to the port. Aside from writing the program to do these things, there are packages such as daemontools (it's in the ports tree) available that provide the functionality required as wrapper programs