The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SUID not working Pankaj Mishra UNIX for Advanced & Expert Users 3 10-20-2006 12:48 AM
SUID and SGID searching... B14speedfreak SUN Solaris 2 05-23-2006 09:13 AM
is SUID disabled for shell shriashishpatil UNIX for Advanced & Expert Users 3 03-22-2006 08:44 PM
suid files??? solvman Security 1 10-12-2001 10:51 AM
SUID bit??? solvman High Level Programming 1 09-28-2001 06:17 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2002
Registered User
 

Join Date: Feb 2002
Posts: 43
what is suid ?

what is SUID ? can someone explain or point me to a link ?

thanks

simon2000
Forum Sponsor
  #2  
Old 07-11-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
SUID stands for "Set User-ID". If the suid bit is enable on an executable, then whenever that program is run the process will take on the privilege of whoever the file owner is. For example if I have a suid binary which is owned by "root" and I execute it as my normal (non-root) user name, it will execute with all the permissions of root. There is also SGID which is Set Group-ID -- similar concept. Obviously this can be very dangerous, so it is recommended that you set an executable to suid only if you are absolutely certain that it is safe to do so.
  #3  
Old 07-18-2002
Registered User
 

Join Date: Feb 2002
Posts: 43
thanks PxT, that was a very good explanation :-)

-simon2000
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0