From owner-freebsd-questions Wed Oct 9 20:48:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB16137B401 for ; Wed, 9 Oct 2002 20:48:41 -0700 (PDT) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D62543E42 for ; Wed, 9 Oct 2002 20:48:41 -0700 (PDT) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.236.114] by mail.gbronline.com (SMTPD32-7.13) id A8208EE9022C; Wed, 09 Oct 2002 22:46:40 -0500 Message-ID: <030d01c2700f$c0668600$fa00a8c0@DaleCoportable> From: "DaleCo, S.P.---'the solutions people'" To: "Socketd" , References: <20021009.22451000.4017525480@rafter.> Subject: Re: Security questions Date: Wed, 9 Oct 2002 22:47:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >From "man syslogd" The syslogd daemon reads messages from the UNIX domain socket /var/run/log, from an Internet domain socket specified in /etc/services, and from the special device /dev/klog (to read kernel messages). So I assume it runs as root in order to access the kernel log....? Kevin Kinsey DaleCo, S.P. ----- Original Message ----- From: "Socketd" To: Sent: Wednesday, October 09, 2002 5:45 PM Subject: Security questions Hi all I've noticed that syslogd run as root, but why? Syslog just need to connect to a port, get messages and write them to some files, so why does I have to be root? I know you have to be root to bind() to a port below 1024, but there should be a syslog user to lower UID to after it have done that?!?!? Btw is the BBS, Heap and stack executable in freebsd? If yes, why? And can you guide me to some detailed info about ELF? Br socketd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message