diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-05 22:26:49 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-05 22:26:49 +0200 |
commit | 5171e61d9b30b75945e12dbefa3bd57d2e169cc7 (patch) | |
tree | 11d7fc54778da50a55e85eb5f89c50fe79474e0f /data/templates/system-login/pam_radius_auth.conf.tmpl | |
parent | 5a04f7d6a9c4954eee85d9cf8c27e29b0a3a0628 (diff) | |
download | vyos-1x-5171e61d9b30b75945e12dbefa3bd57d2e169cc7.tar.gz vyos-1x-5171e61d9b30b75945e12dbefa3bd57d2e169cc7.zip |
system-login: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data/templates/system-login/pam_radius_auth.conf.tmpl')
-rw-r--r-- | data/templates/system-login/pam_radius_auth.conf.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/system-login/pam_radius_auth.conf.tmpl b/data/templates/system-login/pam_radius_auth.conf.tmpl new file mode 100644 index 000000000..6cff67867 --- /dev/null +++ b/data/templates/system-login/pam_radius_auth.conf.tmpl @@ -0,0 +1,13 @@ +# Automatically generated by VyOS +# RADIUS configuration file +{%- if radius_server %} +# server[:port] shared_secret timeout (s) source_ip +{% for s in radius_server %} +{%- if not s.disabled -%} +{{ s.address }}:{{ s.port }} {{ s.key }} {{ s.timeout }} {% if radius_source_address -%}{{ radius_source_address }}{% endif %} +{% endif %} +{%- endfor %} + +priv-lvl 15 +mapped_priv_user radius_priv_user +{% endif %} |