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

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



Steve Kemp wrote:
> 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:
>     #!/bin/sh
>     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.
> 
> Steve

Thank you. The second option is what I am going to do (I don't think
no-ip likes spaces).

Regards.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: