]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Add user `frr` into group `frrvty`
authorPhil Huang <phil_huang@edge-core.com>
Thu, 13 Apr 2017 10:11:28 +0000 (18:11 +0800)
committerPhil Huang <phil_huang@edge-core.com>
Thu, 13 Apr 2017 11:16:11 +0000 (19:16 +0800)
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
doc/Building_FRR_on_Debian8.md
doc/Building_FRR_on_Ubuntu1204.md
doc/Building_FRR_on_Ubuntu1404.md
doc/Building_FRR_on_Ubuntu1604.md

index 81d58827d34b2722ac8a89b24e038a8dfa29420b..f14930334ee29c62f46ac78b0460dc2c912b08f3 100644 (file)
@@ -31,9 +31,9 @@ any packages**
 
     sudo addgroup --system --gid 92 frr
     sudo addgroup --system --gid 85 frrvty
-    sudo adduser --system --ingroup frr --groups frrvty --home /var/run/frr/ \
-       --gecos "FRR FRRouting suite" --shell /bin/false frr
-    sudo usermode
+    sudo adduser --system --ingroup frr --home /var/run/frr/ \
+       --gecos "FRR suite" --shell /bin/false frr
+    sudo usermod -a -G frrvty frr
 
 ### Download Source, configure and compile it
 (You may prefer different options on configure statement. These are just
@@ -95,4 +95,4 @@ other settings)
     #  based on Router Advertisements for this host
     net.ipv6.conf.all.forwarding=1
 
-**Reboot** or use `sysctl` to apply the same config to the running system
+**Reboot** or use `sysctl -p` to apply the same config to the running system
index 6e6374c2f858f9bdbfa40887e31f2ead5f1fbfcc..d39c34f5257ec28f4753badb5b285d9528cbf2e3 100644 (file)
@@ -65,8 +65,9 @@ any packages**
 
     sudo groupadd -g 92 frr
     sudo groupadd -r -g 85 frrvty
-    sudo adduser --system --ingroup frr --groups frrvty --home /var/run/frr/ \
+    sudo adduser --system --ingroup frr --home /var/run/frr/ \
        --gecos "FRR suite" --shell /sbin/nologin frr
+    sudo usermod -a -G frrvty frr
 
 ### Download Source, configure and compile it
 (You may prefer different options on configure statement. These are just
@@ -133,4 +134,4 @@ other settings)
     #  based on Router Advertisements for this host
     net.ipv6.conf.all.forwarding=1
 
-**Reboot** or use `sysctl` to apply the same config to the running system
+**Reboot** or use `sysctl -p` to apply the same config to the running system
index 6db3f426b471bb7f355ff885f8cef0712d420647..3c4e518fba0bc3351ebdcd06c2e4505932dbc18d 100644 (file)
@@ -25,8 +25,9 @@ any packages**
 
     sudo groupadd -g 92 frr
     sudo groupadd -r -g 85 frrvty
-    sudo adduser --system --ingroup frr --groups frrvty --home /var/run/frr/ \
+    sudo adduser --system --ingroup frr --home /var/run/frr/ \
        --gecos "FRR suite" --shell /sbin/nologin frr
+    sudo usermod -a -G frrvty frr
 
 ### Download Source, configure and compile it
 (You may prefer different options on configure statement. These are just 
@@ -91,4 +92,4 @@ other settings)
     #  based on Router Advertisements for this host
     net.ipv6.conf.all.forwarding=1
 
-**Reboot** or use `sysctl` to apply the same config to the running system
+**Reboot** or use `sysctl -p` to apply the same config to the running system
index 8e71cc1eeec95e402141f6752812a7bb3962269c..2a6a30f96165c5bd781b92cea42dcba9762c9a87 100644 (file)
@@ -26,8 +26,9 @@ any packages**
 
     sudo groupadd -g 92 frr
     sudo groupadd -r -g 85 frrvty
-    sudo adduser --system --ingroup frr --groups frrvty --home /var/run/frr/ \
+    sudo adduser --system --ingroup frr --home /var/run/frr/ \
        --gecos "FRR suite" --shell /sbin/nologin frr
+    sudo usermod -a -G frrvty frr
 
 ### Download Source, configure and compile it
 (You may prefer different options on configure statement. These are just 
@@ -113,4 +114,4 @@ Add the following lines to `/etc/modules-load.d/modules.conf`:
     mpls-router
     mpls-iptunnel
 
-**Reboot** or use `sysctl` to apply the same config to the running system
+**Reboot** or use `sysctl -p` to apply the same config to the running system