1.

Explain Setuid, Setgid And Stickybit?

Answer»
  • 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

# find / -prem –4000

# find / -prem –2000

# find / -prem –1000



Discussion

No Comment Found