Explain setuid, setgid and stickybit

Answers were Sorted based on User's Feedback



Explain setuid, setgid and stickybit..

Answer / sbrahman75

Setuid : When setuid permission set on a executable file,
user who access the file is

granted access permission of the owner of the
file.

# find / -prem –4000

setgid : Permission similar to setuid, The process is
changed to owner of the file.

# find / -prem –2000

Stickybit : It is a special permission that protect the
files within a public writable directory

Stickybit permission set the shared
directory, user can create a files or directory

But only by owner of the directory can
modify or delete.

# find / -prem –1000

Is This Answer Correct ?    4 Yes 0 No

Explain setuid, setgid and stickybit..

Answer / babu

perm not prem

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

How many replicas should be for raid5 in sds if I have 5 disk

2 Answers  


how to add the more than one number of pkg at a time in solaris

2 Answers  


Options in ufsdump

1 Answers  


How to check the patch level in solaris

4 Answers   IBM,


Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently

0 Answers   IBM, Wipro,






What is UMASK

2 Answers  


As a user how he can change is passwd with root privilege.

2 Answers  


Have you done the patching, the patching is done by you only or some one will assign to you?

0 Answers   HP,


Tell me some of the differences between Solaris and Sun OS?

8 Answers   Lucent,


in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?

3 Answers   Wipro,


How to find the versions?

2 Answers  


If you have multiple ethernet interfaces, how do you keep it from routing between them?

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)