Explain setuid, setgid and stickybit
Answers were Sorted based on User's Feedback
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 |
How to add a group
Syntex to execute a ufsdump
What are the configuration files in VxVm?
Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 755 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please every body and wite the proper answer. Thanks in Advance
How to mirror and unmirror a disk?
How to rename the old root disk. In this example, rootdisk is being renamed as rootold.
How many ufsdump level
How can we check the status of CPU at firmware
How to bring the process to offline or online
What is UMASK
If user is not loging in to server what is the problem?
How to delete “abc” files using find command