[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no-ip script owner (normal user versus nobody)

On Thu Oct 16, 2008 at 11:32:00 -0400, H.S. wrote:

> Currently the script file I specified in no-ip configuration does not
> appear to run as me since it cannot find my conf files from my home.
> That same script runs perfectly if I run it myself manually.

  Configure either noip to run:

    sudo -u YOURNAME /path/to/script/to/run

  Or change your script to be:
    sudo -u YOURNAME /path/to/other/script

  (If you can't allow spaces, etc, in your no-ip configuration.)

  Then configure your copy of sudo to allow "nobody" to run
  "/path/to/script" as you without any password.


Reply to: