|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Nonpriveleged daemons and pid files
From: Sheldon Hearn (sheldonh
uunet.co.za)Date: Fri Feb 18 2000 - 02:20:14 CST
- Next message: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Previous message: Crist J. Clark: "Re: Why should I upgrade from 2.2.8 to 3.4"
- In reply to: Crist J. Clark: "Re: Nonpriveleged daemons and pid files"
- Next in thread: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Next in thread: Philipp Buehler: "Re: Nonpriveleged daemons and pid files"
- Reply: Sheldon Hearn: "Re: Nonpriveleged daemons and pid files"
- Reply: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Since nobody else seems to have mentioned the solution I use, I'll
describe it here.
Quite simple really; I use /var/run/<daemon_name>/ for each
non-priveledged daemon. I still haven't run into a daemon that could be
configured to run non-priveledged but could not be configured to use an
arbitrary run state directory. I suppose I'd run into more of them if I
installed pre-compiled binaries. However, many fine daemons allow for
run-time specification of the pid_file location.
The drawback is that you don't have all your pid_files in one directory.
However, if the daemon_name directory names are carefully chosen, it's
not hard to find the pid_files with an ls command or even...
kill -HUP `find /var/run -name exim.pid -exec cat {} \;`
Ciao,
Sheldon.
To Unsubscribe: send mail to majordomo
FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- Next message: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Previous message: Crist J. Clark: "Re: Why should I upgrade from 2.2.8 to 3.4"
- In reply to: Crist J. Clark: "Re: Nonpriveleged daemons and pid files"
- Next in thread: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Next in thread: Philipp Buehler: "Re: Nonpriveleged daemons and pid files"
- Reply: Sheldon Hearn: "Re: Nonpriveleged daemons and pid files"
- Reply: Alfred Perlstein: "Re: Nonpriveleged daemons and pid files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]