Date: Wed, 9 Oct 2002 22:47:25 -0500 From: "DaleCo, S.P.---'the solutions people'" <daleco@daleco.biz> To: "Socketd" <db@traceroute.dk>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Security questions Message-ID: <030d01c2700f$c0668600$fa00a8c0@DaleCoportable> References: <20021009.22451000.4017525480@rafter.>
next in thread | previous in thread | raw e-mail | index | archive | help
>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" <db@traceroute.dk> To: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?030d01c2700f$c0668600$fa00a8c0>