pvaneynd: (Default)
I had problems running the official DynDNS daemon. In /var/log/dyndnsupdater.log I saw:
DynDNSUpdaterService must be run as root (501).

On a hunch I checked and the owner of the files is not root and the setuid flag is set:

pevaneyn-mac:~ pevaneyn# ls -l /usr/local/dyndns/
total 2184
drwx------@ 3 pevaneyn wheel 102 Feb 9 2010 Accounts
drwxr-xr-x@ 9 pevaneyn wheel 306 Feb 9 2010 Config
-rwsr-xr-x@ 1 pevaneyn wheel 1104528 Jan 7 2010 DynDNSUpdaterService
-rw-r--r--@ 1 pevaneyn wheel 536 Jan 7 2010 dyndnsd.conf
-rwxr-xr-x@ 1 pevaneyn wheel 4760 Jan 7 2010 ig-configurator.sh


So I fixed that:

pevaneyn-mac:~ root# chown -R root /usr/local/dyndns

which fixed the problem. The GUI now works, as does the updater again. I think my failed experiments with brew caused this.

Profile

pvaneynd: (Default)
pvaneynd

March 2017

S M T W T F S
   1234
567891011
12131415 161718
19202122232425
262728293031 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 25th, 2017 07:51 am
Powered by Dreamwidth Studios