openbsd-ports/net/ipcad/patches/patch-ipcad_conf
2004-03-31 07:53:08 +00:00

38 lines
1.3 KiB
Plaintext

$OpenBSD: patch-ipcad_conf,v 1.3 2004/03/31 07:53:08 grange Exp $
--- ipcad.conf.orig 2004-03-11 13:33:16.000000000 +0600
+++ ipcad.conf 2004-03-20 20:50:10.000000000 +0600
@@ -130,11 +130,11 @@ rsh enable at 127.0.0.1;
#
rsh root@127.0.0.1 admin; /* Can shutdown ipcad */
-rsh staff@127.0.0.1 backup; /* Can dump/restore/import accounting table */
-rsh vlm@127.0.0.1; /* Can view and modify accounting tables */
+#rsh staff@127.0.0.1 backup; /* Can dump/restore/import accounting table */
+#rsh vlm@127.0.0.1; /* Can view and modify accounting tables */
/* Note the order! */
-rsh luser@127.0.0.1 deny; /* Deny this user from even viewing tables */
-rsh 127.0.0.1 view-only; /* Other users can view current tables */
+#rsh luser@127.0.0.1 deny; /* Deny this user from even viewing tables */
+#rsh 127.0.0.1 view-only; /* Other users can view current tables */
##########################
@@ -167,7 +167,7 @@ netflow timeout inactive 15; # Flow inac
# to encourage you to change it.
#
-chroot = /adm/tmp;
+chroot = /var/ipcad;
#
# File to keep getpid() in it. ipcad will also hold a lock.
@@ -177,7 +177,7 @@ chroot = /adm/tmp;
# exists inside chrooted environment.
#
-pidfile = /var/run/ipcad.pid;
+pidfile = /ipcad.pid;
#
# UID/GID privileges dropping