X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fsonar.man;h=4a4b3bb28a61839550cb7aeb26e00aea5f2adf1a;hb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;hp=1db5982abd20a6bf760a5f3e1a1f1214621119ce;hpb=93f25dc6827112d98b8b855ea85c8f5eb8123086;p=xscreensaver diff --git a/hacks/sonar.man b/hacks/sonar.man index 1db5982a..4a4b3bb2 100644 --- a/hacks/sonar.man +++ b/hacks/sonar.man @@ -160,7 +160,15 @@ See option \-teamACount, above. Default value is 4. See option \-teamBCount, above. Default value is 4. .SH NOTES In order to use the ping sensor, this program must be installed as -setuid root, so that it can create an ICMP socket. +setuid root, so that it can create an ICMP socket. Root privileges +are disavowed shortly after startup (just after connecting to the +X server and reading the resource database) so this is \fIbelieved\fP +to be a safe thing to do, but it is usually recommended that you +have as few setuid programs around as possible, on general principles. +.EX +chown root.root sonar +chmod u+s sonar +.EE .SH SEE ALSO .BR X (1), .BR xscreensaver (1),