*** only root can run zgv 2.0 ***

*** only root can run zgv 2.0 ***

Post by Mr Simon L » Mon, 21 Nov 1994 18:29:40



Hello,

        Can anyone solve this problem: only root can run zgv 2.0 and the
        system reports 'svgalib: Cannot get I/O permissions' when the
        other a/c run this program.

Thanks,
Simon Lee

 
 
 

*** only root can run zgv 2.0 ***

Post by Mike Cast » Tue, 22 Nov 1994 06:05:49



Quote:>    Can anyone solve this problem: only root can run zgv 2.0 and the
>    system reports 'svgalib: Cannot get I/O permissions' when the
>    other a/c run this program.

Did you make sure the binary was setuid root? (chown root zgv ; chmod a+s zgv)

mrc
--
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly


    We are all of us living in the shadow of Manhattan.  -- Watchmen

 
 
 

*** only root can run zgv 2.0 ***

Post by Christopher Big » Tue, 22 Nov 1994 10:35:40



>    Can anyone solve this problem: only root can run zgv 2.0 and the
>    system reports 'svgalib: Cannot get I/O permissions' when the
>    other a/c run this program.

Yup, only root can use the SVGAlib library.  Make zgv set-uid root by
typing the following:

        chown root /usr/bin/zgv
        chmod +s /usr/bin/zgv

cjb.

--

 Geek Code 2.1: GCS d H- s:+ g+(++) au+(--) a- w+(++) v*(++) C++(+++) UL++++
 -------------; UC+++ P- L++>+++ 3+ E+++>++++++ N+++  K++ W--- M V-- -po+ Y+

 
 
 

*** only root can run zgv 2.0 ***

Post by Jamie Howe » Sun, 27 Nov 1994 20:50:47



: >  Can anyone solve this problem: only root can run zgv 2.0 and the
: >  system reports 'svgalib: Cannot get I/O permissions' when the
: >  other a/c run this program.

: Did you make sure the binary was setuid root? (chown root zgv ; chmod a+s zgv)

: mrc

while you are at it why not get zgv 2.3? :)

--
 //////////////////////////
 /      Jamie Howell      /

 //////////////////////////