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
How to convert a partition usin 64 bits kernel to 32 bits kernel? GEIER AIX 2 08-18-2008 12:20 AM
setuid and guid itik SUN Solaris 6 05-12-2008 06:28 PM
Unix Sticky Bits XP_2600 SUN Solaris 3 09-28-2006 05:05 AM
Changing 24 bits to 8 bits display larry UNIX for Dummies Questions & Answers 4 03-05-2002 07:51 AM
SUID bit??? solvman High Level Programming 1 09-28-2001 06:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008
Registered User
 

Join Date: Jun 2007
Posts: 4
Stumble this Post!
what is SUID/GUID bits in UNIX/Solaris

Hi,

I have a Oracle Database on Solaris 5.10 .

Following file are showing with SUID/GUID bits .

-rwsr-xr-x root dba /optware/oracle/10.2.0.2/db/bin/extjob

What will happen if this is changed to oracle dba .

I need to know the will there be a effect if the owner of extjob is changed.


Thanx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-28-2008
vbe vbe is online now
Registered User
 

Join Date: Sep 2005
Location: Switzerland
Posts: 514
Stumble this Post!
What do you think?
there it says whoever executes /optware/oracle/10.2.0.2/db/bin/extjob it will run as by root...
>What will happen if this is changed to oracle dba .
Only one way to know... (but you do have root passwd dont you?)

What is it for?
Look here:
# ll /etc/passwd
-r--r--r-- 1 root sys 1988 Feb 28 15:35 /etc/passwd
notice no one can change passwd file and it is supposed to be read only even to root no?
But when you type passwd, it prompts you to give old password and again for new password and asks conrfiramtion etc... and if all is good, wow the file has been updated!
How come?
# ll /usr/bin/passwd
-r-sr-xr-x 5 root bin 49152 May 23 2001 /usr/bin/passwd
Reply With Quote
  #3 (permalink)  
Old 02-28-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
Stumble this Post!
Actually, accordin to the manual extjob is supposed to be owned by root. So, why do you want to change it?
Reply With Quote
  #4 (permalink)  
Old 03-03-2008
Registered User
 

Join Date: Feb 2008
Posts: 4
Stumble this Post!
Thumbs up suid/guid

Hi,

mainly we use this for the purpose of giving rights to the normal user like a super user.

ie:

giving rights as a super user (root user )

suid :- is for the normal user in the group
guid:- is for the whole group members

pl if there any other answer regarding pl let me know.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:05 AM.


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

Content Relevant URLs by vBSEO 3.2.0