Archive for category Unix Admin
How to stickybit, setuidbit
Posted by HanaDaddy in Unix Admin on August 25th, 2006
1.sticky bit : regardless of directory’s access, only directory’s owner can delete files.
(only for directories)
$> chmod 01755 dirname drwxr-xr-t
2.setuid bit: when you execute the program effective uid becomes as progams owner’s uid (such as passwd). Therefore , if execute bit is not set, this is meaningless
$> chmod 02755 exefile rwxr-sr-x $> chmod 04755 exefile rwsr-xr-x
Apache httpd 2.0.54 & php 4.4.0 install under redhat 9
Posted by HanaDaddy in Unix Admin on August 25th, 2006
Pleas note that this article orginially written about 1 year ago.
Read the rest of this entry »
Recent Comments