Re: no-ip script owner (normal user versus nobody)
- From: Steve Kemp <skx@xxxxxxxxxx>
- Date: Thu, 16 Oct 2008 16:35:18 +0100
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
--
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- References:
- Prev by Date: Re: live cd with lvm
- Next by Date: Re: how to setup mail server to use (Yahoo|Gmail) smtp servers
- Previous by thread: no-ip script owner (normal user versus nobody)
- Next by thread: Re: no-ip script owner (normal user versus nobody)
- Index(es):
Relevant Pages
|