Date: Tue, 16 May 2000 09:19:33 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Frank Tobin <ftobin@uiuc.edu> Cc: FreeBSD-security Mailing List <freebsd-security@FreeBSD.ORG> Subject: Re: pid file for named Message-ID: <20000516091932.J20000@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.21.0005160634430.21765-100000@srh0902.urh.uiuc.edu>; from ftobin@uiuc.edu on Tue, May 16, 2000 at 06:48:05AM -0500 References: <Pine.BSF.4.21.0005160634430.21765-100000@srh0902.urh.uiuc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Frank Tobin <ftobin@uiuc.edu> [000516 05:22] wrote: > However, the pid file, /var/run/named.pid, which named tries to write out > one cannot give the proper permissions for, because it resides in a > root-owned directory /var/run. Granted, named writes out this file before > it drops privileges, and doesn't need to re-write this file when it > reloads, even though it tries and complains about not being able to > because it has dropped privileges. Actually there's an evil trick one can use: # cd /var/run # mkdir named # touch named/named.pid # ln -s named/named.pid . # chown named:named named # rm named/named.pid :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000516091932.J20000>