diff options
author | hagbard <vyosdev@derith.de> | 2019-01-21 12:55:32 -0800 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-01-21 12:58:43 -0800 |
commit | 632893abf5c7bf935d866462a107ed1eef1747b3 (patch) | |
tree | 3a2388a054fc4add76d80bb046730c7f77c44ae3 /src/conf_mode | |
parent | 99a407d2446bb5598581dd7fb26177872b1372f9 (diff) | |
download | vyos-1x-632893abf5c7bf935d866462a107ed1eef1747b3.tar.gz vyos-1x-632893abf5c7bf935d866462a107ed1eef1747b3.zip |
Fix: T1178 - Scheduled script breaks ability to modify configuration
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/task_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/task_scheduler.py b/src/conf_mode/task_scheduler.py index 285afe2b5..0391d3edb 100755 --- a/src/conf_mode/task_scheduler.py +++ b/src/conf_mode/task_scheduler.py @@ -27,7 +27,7 @@ from vyos import ConfigError crontab_file = "/etc/cron.d/vyos-crontab" -def format_task(minute="*", hour="*", day="*", dayofweek="*", month="*", user="root", rawspec=None, command=""): +def format_task(minute="*", hour="*", day="*", dayofweek="*", month="*", user="vyos", rawspec=None, command=""): fmt_full = "{minute} {hour} {day} {month} {dayofweek} {user} {command}\n" fmt_raw = "{spec} {user} {command}\n" |