diff options
Diffstat (limited to 'tools/contrib/centos/add_gobgpd_account.sh')
-rwxr-xr-x | tools/contrib/centos/add_gobgpd_account.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/contrib/centos/add_gobgpd_account.sh b/tools/contrib/centos/add_gobgpd_account.sh new file mode 100755 index 00000000..05ee46fe --- /dev/null +++ b/tools/contrib/centos/add_gobgpd_account.sh @@ -0,0 +1,6 @@ +groupadd --system gobgpd +useradd --system -d /var/lib/gobgpd -s /bin/bash -g gobgpd gobgpd +mkdir -p /var/{lib,run,log}/gobgpd +chown -R gobgpd:gobgpd /var/{lib,run,log}/gobgpd +mkdir -p /etc/gobgpd +chown -R gobgpd:gobgpd /etc/gobgpd |