1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Note: Squake is not installed suid root by default, because it has known
security holes. So, you should be root to run it. If you wish, you can make
it suid root, and the permissions will be preserved when you upgrade the
package, if you have the suidmanager package installed. Note that you will
actually need to change the permissions of /usr/games/squake.real.
However, note that if you make squake suid root and run it as a normal user,
the mouse will *not* work. This is because if running suid root, it gives up
permissions to the mouse device too early, and cannot read it. Yes, this is
a bug, but lacking the source code, I cannot easily fix it. The workaround is:
do not run squake suid root, instead, become root and then run it (or use
sudo).
Also note that squake is a wrapper script, that sets up a ~/.quake/
directory, and runs the real quake program. This lets each user have thier
own quake config files, saved games, etc. The .pak files are symlinks, to
save disk space.
-- Joey Hess <joeyh@master.debian.org>
|