Re: SUID program removal
From: Richard Garand (krogoth2@softhome.net)Date: 10/18/01
- Previous message: Patrick Morris: "Re: Sendmail and access db"
- In reply to: Pacifi3r: "SUID program removal"
- Next in thread: Michael Kjorling: "Re: SUID program removal"
- Next in thread: Johannes B. Ullrich: "Re: SUID program removal"
- Reply: Michael Kjorling: "Re: SUID program removal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Richard Garand <krogoth2@softhome.net> To: "Pacifi3r" <pacifi3r@hotmail.com>, focus-linux@securityfocus.com Subject: Re: SUID program removal Date: Wed, 17 Oct 2001 20:15:09 -0600 Message-ID: <courier.3BCE3A55.00007B89@softhome.net>
On October 11, 2001 01:51 pm, Pacifi3r wrote:
> Greetz,
> Newbie would like to know which program on a base RedHat 7.1 installed can
> have the SUID bit removed. Base in this instance means that no additional
> package were selected for install.
>
> Thanks
There's probably a simpler way, but you can just chmod it back to the
original properties (or whatever you want). A short demonstration:
richard@deusexmachina:richard$ chmod 4777 RAWRITE.EXE
richard@deusexmachina:richard$ ll RAWRITE.EXE
-rwsrwxrwx 1 richard richard 36064 Oct 12 22:41 RAWRITE.EXE*
richard@deusexmachina:richard$ chmod 777 RAWRITE.EXE
richard@deusexmachina:richard$ ll RAWRITE.EXE
-rwxrwxrwx 1 richard richard 36064 Oct 12 22:41 RAWRITE.EXE*
richard@deusexmachina:richard$
note how the 's' bit on the owner is removed when I chmod it to 777, because
777 is really 0777, removing the SUID bit.
-- Richard Garand krogoth2@softhome.net, r.garand@sk.sympatico.ca (L)ICQ: 12190132 Then: I have discovered a truly remarkable proof which this margin is too small to contain. Now: Microsoft has released an unremarkable product which your hard drive is too small to contain.
- Previous message: Patrick Morris: "Re: Sendmail and access db"
- In reply to: Pacifi3r: "SUID program removal"
- Next in thread: Michael Kjorling: "Re: SUID program removal"
- Next in thread: Johannes B. Ullrich: "Re: SUID program removal"
- Reply: Michael Kjorling: "Re: SUID program removal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|