diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-05 21:30:47 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-05 21:30:47 +0100 |
commit | f40ec762280f8fe6aac402d9549143608ce8ff68 (patch) | |
tree | c6418ef4e8234643dbbf13568023a4c93f50e23c /src/conf_mode | |
parent | 5adba572ef53f59d0548e914f15a0eb91ab0ac15 (diff) | |
download | vyos-1x-f40ec762280f8fe6aac402d9549143608ce8ff68.tar.gz vyos-1x-f40ec762280f8fe6aac402d9549143608ce8ff68.zip |
radius: T1990: fix sed command when removing radius service
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/system-login-radius.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-login-radius.py b/src/conf_mode/system-login-radius.py index 8f19bae65..caa7f6b80 100755 --- a/src/conf_mode/system-login-radius.py +++ b/src/conf_mode/system-login-radius.py @@ -142,7 +142,7 @@ def apply(radius): # Disable RADIUS in PAM os.system("DEBIAN_FRONTEND=noninteractive pam-auth-update --package --remove radius") - cmd = "'sed -i -e \'/^passwd:.*mapuid[ \t]/s/mapuid[ \t]//\' \ + cmd = "sed -i -e \'/^passwd:.*mapuid[ \t]/s/mapuid[ \t]//\' \ -e \'/^passwd:.*[ \t]mapname/s/[ \t]mapname//\' \ -e \'/^group:.*[ \t]mapname/s/[ \t]mapname//\' \ -e \'s/[ \t]*$//\' \ |