LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2003, 04:57 PM   #1
darkseed2g3
Member
 
Registered: Sep 2003
Location: Philadelphia ,Pa
Distribution: Fedora Core 1 BABY !!! YEA
Posts: 67

Rep: Reputation: 19
Exploit programming and SetUID


Im learning how to program , find and explore exploits. This question is gonna sound lame but how do i set the SUID bit on a program so that when a normal executes it and exploits it , it will make them root.

Basicly what is the chmod command to make a program SUID
 
Old 10-30-2003, 04:44 PM   #2
inode100
Member
 
Registered: Oct 2003
Location: London - England, UK
Posts: 63

Rep: Reputation: 15
chmod u+s <filename>
 
Old 10-30-2003, 04:51 PM   #3
inode100
Member
 
Registered: Oct 2003
Location: London - England, UK
Posts: 63

Rep: Reputation: 15
although SUID just means that when the programme is executed it will only run as the the id of whatever the owner of the file is.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setuid int0x80 Linux - Security 3 12-02-2005 01:33 PM
Best C Programming books on sockets/Exploit coding ! memo007 Programming 4 04-30-2005 12:38 PM
setuid Help devinWhalen Linux - General 2 12-03-2003 09:57 AM
setuid for cdparanoia? megaspaz Linux - Software 1 10-12-2003 08:32 AM
Setuid SirTurbo Linux - General 1 03-26-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration