The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increment userid in file dejavu88 Shell Programming and Scripting 2 05-26-2008 02:11 PM
How to kill a process and its childs given pid and userid nani_g Shell Programming and Scripting 0 06-05-2006 04:57 AM
locking userid to 1 dir? amheck SUN Solaris 2 05-05-2006 12:46 PM
date and userid gundu Shell Programming and Scripting 2 03-25-2005 08:53 AM
validating userid giannicello UNIX for Dummies Questions & Answers 2 05-07-2003 01:13 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-17-2007
Registered User
 

Join Date: Jun 2006
Posts: 9
userid

I would like to know the difference between the real user-id and the
effective user-id. If user-A runs a program owned by user-B then
which is the real user-id and which is the effective user-id ?
Reply With Quote
Forum Sponsor
  #2  
Old 08-17-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
If user-A runs a program that has the suid bit set, owned by user-B, the process will start with a real uid of user-A and an effective uid of user B.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:48 AM.


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