Visit Our UNIX and Linux User Community


what is SUID/GUID bits in UNIX/Solaris


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what is SUID/GUID bits in UNIX/Solaris
# 1  
Old 02-28-2008
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
# 2  
Old 02-28-2008
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
# 3  
Old 02-28-2008
Actually, accordin to the manual extjob is supposed to be owned by root. So, why do you want to change it?
# 4  
Old 03-03-2008
MySQL 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.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #40
Difficulty: Easy
HTML stands for 'Hyper Technology Transfer Protocol'.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between inbuilt suid programs and user defined root suid programs under bash shell?

Hey guys, Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries. However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies

2. Post Here to Contact Site Administrators and Moderators

Bits - The Unix and Linux Forums (Experimental) Virtual Currency

Hello. I've searched the site but can't find a link to what the "Bits" and "bank account" is on my user profile. Can someone link me or briefly explain? (76 Replies)
Discussion started by: candlejack
76 Replies

3. What is on Your Mind?

Place Bits & Win Bits!!! - 17th Annual Satellite Awards

Ten movies have been nominated as best motion picture by the International Press Academy, presentation of the 2012 Satellite Awards will be held on 16th December at Los Angeles, CA. Place your bits here on one of the below nominated movie of your choice:- Argo ... (0 Replies)
Discussion started by: Yoda
0 Replies

4. What is on Your Mind?

What exactly is the concept of BITS in this unix.com forum?

Is there a detailed page on the explanation of concept behind BITS and score used in this forum. Just saw the index on my Banking page. (Clicked the Banking hyperlink below my profile name on the topmost right corner of this screen) Thanks in advance. (2 Replies)
Discussion started by: Manjunath B
2 Replies

5. UNIX for Dummies Questions & Answers

what is SUID,GUID and Sticky bit?

Dear all, what is SUID,GUID and Sticky bit permission? can anyone gave me explanation with example? thanks in advance.. (2 Replies)
Discussion started by: masthan25
2 Replies

6. UNIX for Dummies Questions & Answers

32 bits procesaor with 64 bits Solaris

people i have a problem i have a 32 bits sparc processor, and solaris 64 bits processor, i install a oracle data base 64 bits, but my oracle will not run because my processor is from 32 bits this is ok??, i know if i have x86 i cannot install a 64 bits operatin system in a 32 bits processor. ... (0 Replies)
Discussion started by: enkei17
0 Replies

7. Solaris

How to get Solaris 8 x86 (32 bits) ethernet up on Vmware 6.x.x?

Hello professional, I am using Solaris 8 x86 (32 bits) running on Vmware 6.x.x my vmware configuration: config.version = "8" virtualHW.version = "6" scsi0.present = "TRUE" memsize = "1024" ide0:0.present = "TRUE" ide0:0.fileName = "Other.vmdk" ide1:0.present = "TRUE"... (0 Replies)
Discussion started by: draggy
0 Replies

8. Solaris

Unix Sticky Bits

I cant get the Sticky Bits idea, i do changing mod in Unix by chmod 744 for example and its mean the 7 is for owner and 4 is for group and 4 for other, how can the system determine that there is isomething before 744 which mean 00744 in this case is the 7 still for the owner and if saw how the... (3 Replies)
Discussion started by: XP_2600
3 Replies

Featured Tech Videos