SOLVED: nmcli under cron
- From: logical american <website reader3 gmail com>
- To: networkmanager-list gnome org
- Subject: SOLVED: nmcli under cron
- Date: Fri, 18 Dec 2015 10:58:57 -0800
This morning I tried executing the nmcli command under root cron and it
worked as desired. This told me what I needed to know, that the user
cron did not allow the sudo nmcli command to work or have sufficient
privileges.
I made a copy of the nmcli executable in the /usr/local/bin folder and
changed the owner and group to match that of the user's crontab
permissions, then edited the sudoer's file to add only and specifically
that command to NOPASSWD permissions.
nmcli now works as expected under the user's crontab job.
I consider this problem fixed.
A.G.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]