Browse Source

redhat: Add quagga user to quaggavt vty group by default, bug #937

* See bugzilla #937
Timo Schöler 2 years ago
parent
commit
2e0fb0e1ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      redhat/quagga.spec.in

+ 1 - 1
redhat/quagga.spec.in

@@ -310,7 +310,7 @@ if getent group %quagga_user >/dev/null; then : ; else \
  /usr/sbin/groupadd -g %quagga_gid %quagga_user > /dev/null || : ; \
 fi
 if getent passwd %quagga_user >/dev/null ; then : ; else \
- /usr/sbin/useradd  -u %quagga_uid -g %quagga_gid \
+ /usr/sbin/useradd  -u %quagga_uid -g %quagga_gid -G %vty_group \
   -M -r -s /sbin/nologin -c "Quagga routing suite" \
   -d %_localstatedir %quagga_user 2> /dev/null || : ; \
 fi