On Mon, Feb 14, 2005 at 03:12:06PM -0600, Alfonso Lopez wrote:

| I have a script that sets up my wireless connection for me, using a 
| variety of root only commands. I would like to have my users be able to 
| run it.  Changing the permissions to allow executions doesn't do the 
| trick since the script calls ifconfig/iwconfig etc. 

Google for `sudo' or `super'.  You may even have one of them installed
already.

Another option would be to make a setuid root program (usually written
in C, but it could be done in perl if your perl is configured to
handle setuid scripts) to clean the environment and then run your
wireless connection script.  But sudo or super would be easier.

-- 
Doug McLaren, [EMAIL PROTECTED]
Hello.  My $NAME is "Enigo Montoya".  You kill -9'd my process.  Prepare to vi.
_______________________________________________
Siglinux mailing list
[email protected]
http://www.utacm.org:81/mailman/listinfo/siglinux

Reply via email to