This is what the Setuid bit is for. It elevates the privileges of the executing user to the level of the owner. With chmod, with a 4 in the first of four columns. The man page of course has a lot more information.
You can't do this with some scripting languages though since they disable it for security. You can, however, use a very simple c wrapper if it doesn't allow it. -Jeff On Monday 14 February 2005 3:12 pm, 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. > > Help? > Alfonso Lopez > > _______________________________________________ > Siglinux mailing list > [email protected] > http://www.utacm.org:81/mailman/listinfo/siglinux _______________________________________________ Siglinux mailing list [email protected] http://www.utacm.org:81/mailman/listinfo/siglinux
