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 to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?

7 Answers   Softenger,


how we can create user in solaris?

6 Answers   Tech Mahindra,


how many run level in solaris?

19 Answers   HP,


if /etc/system file file got deleted how you will regenerate from ok prompt ? in solaris and if and /etc/inittab file got deleted how you will regenerate from ok prompt and if both files got deleted how you will regenerate from ok prompt

3 Answers   Wipro,


how to use the command "top" in solaris 10

3 Answers   IBM,






Difference between LDOM and Domain?

2 Answers   IBM,


how do u configure the disk

5 Answers  


How to mirror a root dg? With eg

1 Answers  


What is the difference between init 1 and init s ?

1 Answers  


What is default permission of files and directory?

4 Answers  


How to Freeze svcgroup, (disable onl. & offl.)

2 Answers  


How many filed in /etc/vfstab

1 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)