Article View: aus.computers.linux
Article #59164Re: Help getting RedHat SVGA games to work
From: John Saunders
Date: Wed, 21 Feb 1996 00:00
Date: Wed, 21 Feb 1996 00:00
41 lines
2411 bytes
2411 bytes
In article <4g95os$g20@harbinger.cc.monash.edu.au>,
lamble@yoyo.cc.monash.edu.au (Stuart Lamble) writes:
>John Saunders (johns@rd.scitec.com.au) wrote:
>[snip!]
>: - The permissions on /dev/console should be 666 (was 644). This was the
>: major fix to get the svga_* games running! With the proper config I am
>: able to use my 3 button MouseSystems Mouse fine.
>
>NO! NO! NO!!! NOT 666 - leave it at 644.
But then the mouse doesn't work! Besides I'm the only one with access to
my machine so security isn't an issue. If security is a problem then people
should set /dev/console to a special group name (games), and make the svga
games sgid "games". I haven't tried that but I think it should work.
>: - You need to be logged in as root to run Abuse (like the README said).
>: No amount the permissions fiddling to get around this.
>
>Set the binary as suid root. In other words, su to root, change to the
>directory the binary is in, and run the commands:
>
> chown root <file>
> chmod 4755 <file>
The programs are already suid root, they have to be to use the SVGA library.
But they do something like setreuid(getuid()) at the start to drop the root
persmissions after the SVGA library has been opened. Otherwise you could do
good things like saving the high score list over /etc/passwd with suitable
symbolic links.
>This should fix the problems with /dev/console, etc.
It doesn't, for reasons explained above.
Cheers.
-- +------------------------------------------------------------+
. | John Saunders - johns@rd.scitec.com.au (Work) |
,--_|\ | - john@pacer.apana.org.au (Home) |
/ Oz \ | - http://triode.apana.org.au:8080/~johns/ |
\_,--\_/ | SCITEC LIMITED - Phone +61 2 428 9563 - Fax +61 2 428 9933 |
v +------------------------------------------------------------+
Technical Details
Message-ID:
<4ge1fg$n0q@mailhub.scitec.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4g0tv4$sd0@mailhub.scitec.com.au> <4g87pr$i0q@mirv.unsw.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,5db87e8aa1a30603 X-Google-Attributes: gid102983,public From: johns@rd.scitec.com.au (John Saunders) Subject: Re: Help getting RedHat SVGA games to work Date: 1996/02/21 Message-ID: <4ge1fg$n0q@mailhub.scitec.com.au> X-Deja-AN: 140331536 references: <4g0tv4$sd0@mailhub.scitec.com.au> <4g87pr$i0q@mirv.unsw.edu.au> organization: SCITEC LIMITED, Sydney, Australia. newsgroups: aus.computers.linux