serhii.net

In the middle of the desert you can say anything you want

14 May 2025

xscreensaver sonar locating setuid

A trick I just learned from XScreenSaver sonar must be setuid to ping - UNBLOG Tutorials: locate programname

I’d usually do whereis programname, which works if the program is one I can run from CLI. sonar wasn’t in PATH, and I had no idea where to find it — locate did it.

To setuid: - sudo chmod +s /path/to/program - +x would only do this for my current user

(Also: fun old forums from 2003 were fun: setuid and the sonar screen saver (newbie))

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus