summaryrefslogtreecommitdiffstats
path: root/tools/etc
diff options
context:
space:
mode:
authorMichal Ruprich <michalruprich@gmail.com>2022-11-22 12:38:05 +0100
committerMichal Ruprich <michalruprich@gmail.com>2022-11-23 10:19:10 +0100
commit1d42fb941af17a29346b2af03338f8e18470f009 (patch)
treed43d16d67de768ee7b1f723f77e1d10f919edefb /tools/etc
parentMerge pull request #12348 from donaldsharp/expand_timings (diff)
downloadfrr-1d42fb941af17a29346b2af03338f8e18470f009.tar.xz
frr-1d42fb941af17a29346b2af03338f8e18470f009.zip
tools: Enable start of FRR for non-root user
There might be use cases when this would make sense, for example running FRR in a container as a designated user. Signed-off-by: Michal Ruprich <mruprich@redhat.com>
Diffstat (limited to 'tools/etc')
-rw-r--r--tools/etc/frr/daemons5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/etc/frr/daemons b/tools/etc/frr/daemons
index 8aa08871e..2427bfff7 100644
--- a/tools/etc/frr/daemons
+++ b/tools/etc/frr/daemons
@@ -91,6 +91,11 @@ pathd_options=" -A 127.0.0.1"
#
#MAX_FDS=1024
+# Uncomment this option if you want to run FRR as a non-root user. Note that
+# you should know what you are doing since most of the daemons need root
+# to work. This could be useful if you want to run FRR in a container
+# for instance.
+# FRR_NO_ROOT="yes"
# For any daemon, you can specify a "wrap" command to start instead of starting
# the daemon directly. This will simply be prepended to the daemon invocation.