Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 03-09-2007, 07:16 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 89,398

Rep: Reputation: 87
LXer: Setting the SUID/SGID bits: Giving a program YOUR permissions when it runs

Published at LXer:

Normally, when a program runs under Linux, it inherits the permissions of the user who is running it, thus if I run a program under my account, the program runs with the same permissions that I would have if that program were me. Thus, if I cannot open a certain file, the program I am running also cannot open the file in question. If I set the SUID or SGID bit for a file, this causes any persons or processes that run the file to have access to system resources as though they are the owner of the file.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
which suid sgid to unset? hank43 Linux - Security 1 10-09-2006 01:46 AM
suid on directory - doesn't, sgid ok? pingu Linux - Security 1 01-18-2006 04:04 PM
suid/sgid question plan9 Linux - Security 1 07-08-2004 07:15 AM
Question: the concept of suid and sgid feetyouwell Linux - Software 4 02-03-2004 04:12 PM
SGID and SUID on Directories mikeyt_333 Linux - General 1 03-26-2002 02:41 PM

All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration