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 |
Tell me some of the differences between Solaris and Sun OS?
how to use the command "top" in solaris 10
Hello Everyone, One of our servers is showing a strange issue, let me paste the output Code: root # uptime 4:37pm 3 users, load average: 0.00, 0.04, 0.04 Its been running since months but you can see after time there isn't any output like up 191 days(s). Even the who command with b and r option isn't giving any output. Code: root # who -b root # root # who -r root # the date command displays correct output. I am not sure but is it because someone has played with utmpx and wtmpx files, is reboot the only solution we have. Can anyone help us since we don't intend to reboot the server for such a reason and also no one has complained till yet.
How may will you find the process id and disk utilizations.
How can you boot the system in single user mode? other than #boot CDROM/net -s
How to check the patch level in solaris
I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.
If the root disk is failed how can change it?
How to add a root dg?
What is default permission of files and directory?
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?
What is a heart-beat?