Date: Tue, 29 Jan 2002 09:21:15
From: "neil barnes" <[EMAIL PROTECTED]>
Subject: Re: [LIB] linux guru help required (on topic though!)

Thanks,

I'll try that, though afaik I've already done that and the normal apm stuff 
works. This package allows access to the bios so that things like screen 
brightness can be changed on the fly. Having removed the geteuid() from the 
code, so that either root or a user can operate it, it stil works fine for 
root but gives a coredump for the user - which is fair enough, given that 
it's making system calls I guess (depending on some flags in the config 
file, it either goes through a bios gateway or talks directly to the cmos 
ram)

Neil


>From: Fran <[EMAIL PROTECTED]>
>Reply-To: Libretto <[EMAIL PROTECTED]>
>To: Libretto <[EMAIL PROTECTED]>
>Subject: Re: [LIB] linux guru help required (on topic though!)
>Date: Mon, 28 Jan 2002 20:02:03 -0800
>
>Date: Tue, 29 Jan 2002 16:57:56 +1300
>From: Fran <[EMAIL PROTECTED]>
>Subject: Re: [LIB] linux guru help required (on topic though!)
>
>chmod +s /usr/bin/apm
>
>Works for me.
>
>Fran
>:):):)
>
>
>On Tue, 29 Jan 2002 02:52, you wrote:
> > Date: Mon, 28 Jan 2002 13:47:49
> > From: "neil barnes" <[EMAIL PROTECTED]>
> > Subject: linux guru help required (on topic though!)
> >
> > Heya,
> >
> > I suspect this one is for Christian or Paul or whoever - it's beyond my
> > competence.
> >
> > I'm playing with the linux bios control at
> > http://club.pep.ne.jp/~ishioka/Software/Linux/libapm/ and so far have
> > managed to get the text apm control working - though only as root, which
> > is a pain. The documentation tells me that as I've installed it, anyone
> > should be able to run it, but that doesn't work.
> >
> > There's also a tcl (I think) script which should give a graphical
> > interface for X - but it bombs out with an error from the libapm 
>package,
> > again complaining that only root can use it.
> >
> > This looks awfully like a permissions thing...what I'd like to do is set
> > the libapm to run a root irrespective of user, but I can't find a
> > way...if I tru setuid or seteuid it doesn't change the uid.
> >
> > I'm stuck for a while...any thoughts gratefully accepted!
> >
> > Cheers,
> >
> > Neil (36C - bloody hot today)
>
>
>
>
>**************************************************************
>http://libretto.basiclink.com - Libretto mailing list
>http://libretto.basiclink.com/archive - Archives
>http://www.picante.com/~gtaylor/portable/faq.html - FAQ
>                  -------TO UNSUBSCRIBE-------
>Reply to any of the list messages. The reply mail should be
>addressed to: [EMAIL PROTECTED] - Then replace any text
>on the message's subject line: cmd:unsubscribe
>               --------TO UNSUBSCRIBE DIGEST------
>Do above but with this on subject line: cmd:unsubscribe digest
>**************************************************************
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://libretto.basiclink.com/archive - Archives
http://www.picante.com/~gtaylor/portable/faq.html - FAQ
                 -------TO UNSUBSCRIBE-------
Reply to any of the list messages. The reply mail should be
addressed to: [EMAIL PROTECTED] - Then replace any text
on the message's subject line: cmd:unsubscribe
              --------TO UNSUBSCRIBE DIGEST------
Do above but with this on subject line: cmd:unsubscribe digest
**************************************************************

Reply via email to