Add user frr into group frrvty

Signed-off-by: Phil Huang <phil_huang@edge-core.com>
This commit is contained in:
Phil Huang 2017-04-13 18:11:28 +08:00
parent 3e71b5d907
commit 7caef08c84
4 changed files with 13 additions and 10 deletions

View 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

View 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

View 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

View 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