[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kbdrate as ordinary user

On Tue, Dec 03, 2002 at 05:50:38AM +0000, Pigeon wrote:
> On Fri, Nov 29, 2002 at 12:00:00AM +0000, Ward Vandewege wrote:
> Setu/giding a shell script doesn't work. 

Damn, I knew this - ran into it 5 years ago or so at college...

> You have to setuid the shell
> which is running the script. And you don't want a so-called "root
> shell" anywhere on your system!

Certainly not, indeed.

> 3) make /sbin/kbdrate setuid root.

Works perfectly. Can't believe I didn't think of this and was messing with
/dev/port instead. I must have been very, very tired or something. Hmmm.


Bye for now,

Pong.be         -(   "Those who do not understand Unix are condemned to    )-
Virtual hosting -(         reinvent it, poorly." -- Henry Spencer          )-
http://pong.be  -(                                                         )-
GnuPG public key: http://gpg.dtype.org

Attachment: pgpx7oJjaIPKR.pgp
Description: PGP signature

Reply to: