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

what is the back up software we r using in solaris 8,9,10

2 Answers  


Explain FSCK

2 Answers  


How to review all zones in solaris10?

3 Answers   Infosys,


How to configure domain controller in SAMBA using SOLARIS 10 OS and How to centralize domain name and creating users.How to share files for WINDOWS XP clients

1 Answers   IBM,


How to check the patch level in solaris

4 Answers   IBM,






When iam checking the services its showing unintialized then what should i do step by step.pls tell me the answer as soon as posible.

1 Answers   Wipro,


what is interface in solaris

2 Answers  


Security point of view,What's there in NIS+ than NIS?

3 Answers   Locuz,


What are the minimum hardware requirements for cluster configuration?

4 Answers  


If /etc/system file is corrupted how will you recover it , if we dont have a CDROM then what is the procedure?

2 Answers   IBM, ITC Infotech, Tech Mahindra,


How would you truncate a log file that is growing too large if you don't have space to compress it or to move it somewhere else? How would you do it?

3 Answers  


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

8 Answers   Lucent,


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)