On Thu, 3 Dec 1998, Pere Camps wrote:

   Hi!
   
        I want my users to be able to execute this script:
   
   #!/bin/bash
   /sbin/kbdrate -r 30 -d 250
   /etc/init.d/gpm stop
   /etc/init.d/gpm start
    
        The problem is that these programs need root's
   privileges. I've suid the script root:root but still the programs
   say I don't have he right permisions to execute them.
   
        What's going wrong here?

A better/more secure way is to install the package 'sudo'.  Then you
can add the command to the /etc/sudoers file:

#= Give 'username' permission to execute 'mycommand' as root
username           ALL=/path/to/mycommand

Hope this helps!
Dennis
-- 
Dennis Kelly <[EMAIL PROTECTED]>
Network Adminstrator
College of Engineering, MSU
353-4844 (phone)
222-5875 (pager)

Reply via email to