Linux¸ß¼¶È¨ÏÞ¹ÜÀí£ºACLÓ÷¨¼ò½é
ת×Ô£º http://ipie.blogbus.com/logs/36730036.html
Linux¸ß¼¶È¨ÏÞ¹ÜÀí£ºACLÓ÷¨¼ò½é
2009-03-18 23:11:22 by deepblue
Ç°¶Îʱ¼ä£¬ÔÚLinuxÉÏÉèÖÃÒ»¸öĿ¼µÄ·ÃÎÊȨÏÞʱ£¬·¢ÏÖͨ¹ý¼òµ¥µÄchmod²Ù×÷²»ÄÜÂú×ã×Ô¼ºµÄÐèÇó£¬
ÎÊÌ⣺Èç¹ûÓÃrootÕʺŴ´½¨ÁËÒ»¸öĿ¼DIR£¬ÓÐA,B,C,DËÄ×éÓû§£¬ÎÒÏë¸øA×éÓû§¶ÁдִÐеÄȨÏÞ£¨rwx£©£¬¸øB×éÓû§¶ÁдµÄȨÏÞ£¨rw-£©£¬¸øC×éÓû§¶ÁµÄȨÏÞ£¨r--£©£¬²»¸øDÈκÎȨÏÞ£¨---£©£¬ÒªÈçºÎʵÏÖ£¿
UGOµÄ¾ÖÏÞÐÔ
ͨ³£´ó¼ÒÊìϤµÄÊÇUGOµÄȨÏÞ¹ÜÀí·½Ê½£¨User, Group, Other£©£¬¼´¶ÔÒ»¸öÎļþµÄËùÓÐÕߣ¬ËùÊô×éºÍÆäËûÓû§À´·Ö±ðÉèÖøÃÎļþµÄ¶ÁдִÐÐȨÏÞ¡£¶ÔÓÚ¼òµ¥Ó¦ÓÃÀ´Ëµ£¬ÕâÖÖ´ÖÁ£¶ÈµÄȨÏÞ¹ÜÀí·½Ê½ÒѾ¹»ÓÃÁË£¬ÉèÖÃÆðÀ´Ò²ºÜ·½±ã¡£È»¶ø£¬µ±ÎÒÃÇÐèÒª¶Ôij¸öÎļþ½øÐнϸ´ÔÓÏêϸµÄȨÏÞÉèÖÃʱ£¬UGO·½Ê½¾ÍÏÔʾ³öÁËÆä¾ÖÏÞÐÔ¡£
È磬¶ÔÓÚ±¾ÎÄ¿ªÊ¼ËùÌá³öµÄÎÊÌ⣬ÐèҪΪËÄ×鲻ͬÓû§ÉèÖöÔĿ¼DIRµÄ²»Í¬·ÃÎÊȨÏÞ£¬¶øUGO·½Ê½Ö»ÄܶÔĿ¼µÄËùÓÐÕߣ¬ËùÊô×飬ÒÔ¼°ÆäËûÓû§ÉèÖò»Í¬È¨ÏÞ£¬¼´×î¶àÖ»ÄÜÉèÖÃ3ÖÖ²»Í¬È¨ÏÞ£¬»¹²»ÄܶԶà¸ö²»Í¬Óû§·Ö±ðÉèÖá£
ACLÔòºÜºÃµÄÂú×ãÁËÕâÑùµÄÐèÇó¡£
ACL¼ò½é
ACL£¬È«³ÆAccess Control List£¬¼´Îļþ/Ŀ¼µÄ·ÃÎÊ¿ØÖÆÁÐ±í£¬¿ÉÒÔÕë¶ÔÈÎÒâÖ¸¶¨µÄÓû§/×é·ÖÅärwxȨÏÞ¡£ÏÖÔÚÖ÷Á÷µÄÉÌÒµUnixϵͳ¶¼Ö§³ÖACL¡£FreeBSDÒ²ÌṩÁ˶ÔACLµÄÖ§³Ö¡£LinuxÔÚÕâ¸ö·½ÃæÒ²²»»áÂäºó£¬´Ó2.6°æÄں˿ªÊ¼Ö§³ÖACL[1]¡£¹ËÃû˼Ò壬ACL½«Óû§¶ÔÒ»¸öÎļþ·ÃÎÊȨÏÞ¾ÍÏñÊÇ·ÅÔÚÁËÒ»¸öÁбíÀÁбíµÄÿһÏî·Ö±ð¶ÔÓ¦ÁËÒ»¸ö»òÒ»×é¾ßÌåÓû§¶Ô¸ÃÎļþµÄÌض¨·ÃÎÊȨÏÞ¡£Õâ¾ÍʹÈÎÒâµÄ·ÃÎÊȨÏÞ¹ÜÀí³ÉΪÁË¿ÉÄÜ¡£
ÏÂÃæÎÒÃÇÀ´¿´¿´ÈçºÎͨ¹ýACL½øÐÐÏêϸµÄÎļþ·ÃÎÊȨÏÞ¹ÜÀí¡£
¼ì²éACL°ü°²×°Çé¿ö
Ê×Ïȼì²éÄãµÄLinuxϵͳµÄºËÐÄÊÇ·ñÓÐÖ§³ÖACLµÄ¹¦ÄÜ¡£ÒòΪLinuxϵͳ²¢²»ÊÇÿһ¸ö°æ±¾µÄºËÐĶ¼ÓÐÖ§³ÖACLµÄ¹¦ÄÜ£¬¶øÇÒ¼´Ê¹ÔÚ kernel ÖÐÒѼӽøÁË ACL µÄÖ§³Ö£¬Ò²²»Ò»¶¨ÒѾ×Ô¶¯ÆôÓá£×î¼òµ¥µÄ·½·¨¾ÍÊǼì²éϵͳĿǰµÄºËÐÄÄÜ·ñÖ§³Ö£¬ÏÂÃæÊÇÎÒÔÚubuntu8.04ÉÏÃæ²é¿´boot/configÎļþµÄ½á¹û£º
zhou@zhou-desktop:~$ uname -a
Linux zhou-desktop 2.6.24-23-generic #1 SMP Thu Feb 5 15:00:25 UTC 2009 i686 GNU/Linux
zhou@zhou-desktop:~$ cat /boot/config-2.6.24-23-generic | grep -i acl
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_FS_POSIX_ACL=y
CONFIG_GENERIC_ACL=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3_ACL=y
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
Ò» Ê×ÏÈ°²×°ppp£¬ ÓÃsudo apt-get install ppp
¶þ ²¦ºÅÉÏÍø£¬ Ò»¹²ÓÐ3ÖÖ·½Ê½
1.ʹÓÃÃüÁî pppd call somescript µÄ·½Ê½
- ÔÚ /etc/pppĿ¼Ï£¬½¨Á¢3¸öÎļþ£ºpap-secrets,chap-secrets,gprs-connect-chat
ºÍÒ»¸öĿ¼:peers
ÔÚpeersĿ¼Ï½¨Á¢Ò»¸öÎļþgprs
Õâ4¸öÎļþµÄÄÚÈÝÈçÏ£º
---------------------- ......
red hat linux Ï°²×° oracle 10g
racle¿¼×ÊÁÏ:
Oracle¹Ù·½ÍøÕ¾: http://download.oracle.com/docs/html/B10813_01/toc.htm
Ò»¡¢ÒÔrootÓû§µÇ¼, ½øÐÐÈçϲÙ×÷£º
1 ¼ì²éÓ²¼þÒªÇó
* Ö÷Òª°üÀ¨£º
********************************************************************
* ÄÚ´æ: & ......
Ò»¡¢
SVN
·þÎñÆ÷»·¾³µÄ´î½¨
ÎÒÃÇ¿ª·¢µÄÏîÄ¿ÊôÓÚ»ùÓÚ
ARM9
ºË
linux
ϵͳµÄǶÈëʽ¹ÜÀíÈí¼þ£¬Õû¸ö¿ª·¢±àÒë»·¾³±ØÐëÊÇÔÚ
linux
ÏÂÃæ¡£Òò´Ë£¬
SVN
·þÎñÆ÷µÄ»·¾³Ò²±ØÐëÊÇÔÚ
linux
ϵͳ¡£
ÏÖÓеķþÎñÆ÷»·¾³£º²Ù×÷ϵͳ£º
Redhat Linux AS4U4
£¬Äں˰汾Ϊ£º
2.6.13
......