[NTLUG:Discuss] Running Applications with Root privileges
Bug Hunter
bughuntr at one.ctelcom.net
Fri Oct 4 13:24:12 CDT 2002
chmod +s nmap
that sets the suid bit, which causes it to run as root when executed.
If the program is a bad program, the machine is now owned.
Only root can do this.
On 4 Oct 2002, Patrick Parks wrote:
> Is there a switch or something that I can use to run a program (nmap) as
> root when I am a user? I know I can su then run it, but what I would
> like to do is be able to launch nmap from my desktop, without having to
> su first. I am using Windowmaker and RH 7.3. I have been reading up on
> this, and I found something about setuid bit, is anyone familiar with
> this? Thanks
>
> Patrick Parks
>
--
---------------------------------
Sick and tired of spam?
Ask me about Mail Deflector!
http://www.maildeflector.com
---------------------------------
More information about the Discuss
mailing list