Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-05-2008, 02:12 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 12

Rep: Reputation: 0
Question setuid()


Does anyone know how to execute setuid() function without have to be root user..???
Old 11-05-2008, 03:37 AM   #2
Registered: Aug 2008
Posts: 55

Rep: Reputation: 15
Under Linux, setuid() is implemented like the POSIX version with the
_POSIX_SAVED_IDS feature. This allows a set-user-ID (other than root)
program to drop all of its user privileges, do some un-privileged work,
and then re-engage the original effective user ID in a secure manner.
Can you be more specific about your problem?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 files sulekha Linux - Security 1 10-11-2008 05:04 AM
setuid int0x80 Linux - Security 3 12-02-2005 01:33 PM
How to setuid root abridge Linux - Newbie 4 04-06-2005 03:59 PM
setuid Help devinWhalen Linux - General 2 12-03-2003 09:57 AM
Setuid SirTurbo Linux - General 1 03-26-2003 06:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 PM.

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