Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux³£¼ûÃüÁî chmodºÍchownÃüÁîµÄÓ÷¨

Ò»¡¢chown ÃüÁî
ÓÃ;£º¸ü¸ÄÎļþµÄËùÓÐÕß»ò×é¡£ÃüÁîÓɵ¥´Êchange owner×éºÏ¶ø³É¡£
ʹÓÃʾÀý£º
1£¬¸ü¸ÄÎļþµÄËùÓÐÕߣº
chown jim program.c
Îļþ program.c µÄËùÓÐÕ߸ü¸ÄΪ jim¡£×÷ΪËùÓÐÕߣ¬jim ¿ÉÒÔʹÓà chmod ÃüÁîÔÊÐí»ò¾Ü¾øÆäËûÓû§·ÃÎÊ program.c¡£
2£¬¸ü¸ÄĿ¼µÄËùÓÐÕߣº
chown -R john:build /tmp/src
½«Ä¿Â¼ /tmp/src ÖÐËùÓÐÎļþµÄËùÓÐÕߺÍ×é¸ü¸ÄΪÓû§ john ºÍ×é build
- R µÝ¹éʽµØ¸Ä±äÖ¸¶¨Ä¿Â¼¼°ÆäϵÄËùÓÐ×ÓĿ¼ºÍÎļþµÄÓµÓÐÕß¡£
- v ÏÔʾchownÃüÁîËù×öµÄ¹¤×÷¡£
¶þ¡¢chmod ÃüÁî
ÓÃ;£º¸Ä±äÎļþ»òĿ¼µÄ·ÃÎÊȨÏÞ¡£
¸ÃÃüÁîÓÐÁ½ÖÖÓ÷¨£º
Ò»ÖÖÊÇ°üº¬×ÖĸºÍ²Ù×÷·û±í´ïʽµÄÎÄ×ÖÉ趨·¨£»ÁíÒ»ÖÖÊÇ°üº¬Êý×ÖµÄÊý×ÖÉ趨·¨¡£
1£¬ÎÄ×ÖÉ趨·¨
chmod [who] [+ | - | =] [mode] ÎļþÃû
ÃüÁîÖи÷Ñ¡ÏîµÄº¬ÒåΪ£º
²Ù×÷¶ÔÏówho¿ÉÊÇÏÂÊö×ÖĸÖеÄÈÎÒ»¸ö»òÕßËüÃǵÄ×éºÏ£º
      u ±íʾ“Óû§£¨user£©”£¬¼´Îļþ»òĿ¼µÄËùÓÐÕß¡£
      g ±íʾ“ͬ×飨group£©Óû§”£¬¼´ÓëÎļþÊôÖ÷ÓÐÏàͬ×éIDµÄËùÓÐÓû§¡£
      o ±íʾ“ÆäËû£¨others£©Óû§”¡£
      a ±íʾ“ËùÓУ¨all£©Óû§”¡£ËüÊÇϵͳĬÈÏÖµ¡£
²Ù×÷·ûºÅ¿ÉÒÔÊÇ£º
      + Ìí¼Óij¸öȨÏÞ¡£
      - È¡Ïûij¸öȨÏÞ¡£
      = ¸³Óè¸ø¶¨È¨ÏÞ²¢È¡ÏûÆäËûËùÓÐȨÏÞ£¨Èç¹ûÓеĻ°£©¡£
ÉèÖÃmodeËù±íʾµÄȨÏÞ¿ÉÓÃÏÂÊö×ÖĸµÄÈÎÒâ×éºÏ£º
      r ¿É¶Á¡£
      w ¿Éд¡£
      x ¿ÉÖ´ÐС£
      X Ö»ÓÐÄ¿±êÎļþ¶ÔijЩÓû§ÊÇ¿ÉÖ´ÐеĻò¸ÃÄ¿±êÎļþÊÇĿ¼ʱ²Å×·¼Óx ÊôÐÔ¡£
      s ÔÚÎļþÖ´ÐÐʱ°Ñ½ø³ÌµÄÊôÖ÷»ò×éIDÖÃΪ¸ÃÎļþµÄÎļþÊôÖ÷¡£·½Ê½“u£«s”ÉèÖÃÎļþµÄÓû§ID룬“g£«s”ÉèÖÃ×éIDλ¡£
      t ±£´æ³ÌÐòµÄÎı¾µ½½»»»É豸ÉÏ¡£
      u ÓëÎļþÊôÖ÷ÓµÓÐÒ»ÑùµÄȨÏÞ¡£
      g ÓëºÍÎļþÊôÖ÷ͬ×éµÄÓû§ÓµÓÐÒ»ÑùµÄȨÏÞ¡£
      o ÓëÆäËûÓû§ÓµÓÐÒ»ÑùµÄȨÏÞ¡£
ÎļþÃû£ºÒÔ¿Õ¸ñ·Ö¿ªµÄÒª¸Ä±äȨÏÞµÄÎļþÁ


Ïà¹ØÎĵµ£º

Redhat AS4 Linux³£Ó÷þÎñºÍ¹¤¾ß


ÕâÀï¼Ç¼Redhat LinuxÖеÄһЩ³£Ó÷þÎñºÍÅäÖù¤¾ß¡£°æ±¾»ùÓÚAS4¡£
1.Firewall
ͨ¹ýÃüÁîÐÐÅäÖãºlokkit
ͼÐνçÃæÅäÖãºApplications->System Settings->Security Level
2.samba
/etc/init.d/smb start | /etc/init.d/smb stop | /etc/init.d/smb restart
»òÕß
service smb start | service smb stop | servic ......

Linux ½Å±¾±àд»ù´¡(Áù)

ÎļþÑ­»·³ÌÐò
»òÐíÄúÊÇÏ뽫ËùÓз¢³öµÄÓʼþ±£´æµ½Ò»¸öÎļþÖеÄÈËÃÇÖеÄÒ»Ô±£¬µ«ÊÇÔÚ¹ýÁ˼¸¸öÔÂÒÔºó£¬Õâ¸öÎļþ¿ÉÄÜ»á±äµÃºÜ´óÒÔÖÁÓÚʹ¶Ô¸ÃÎļþµÄ·ÃÎÊËٶȱäÂý¡£ÏÂÃæµÄ½Å±¾rotatefile¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£Õâ¸ö½Å±¾¿ÉÒÔÖØÃüÃûÓʼþ±£´æÎļþ£¨¼ÙÉèΪoutmail£©Îªoutmail.1£¬¶ø¶ÔÓÚoutmail.1¾Í±ä³ÉÁËoutmail.2 µÈµÈµÈµÈ...
#!/bin/ ......

The Linux Printing HOWTO

The Linux Printing HOWTO http://www.resoo.org/docs/printing/printing-howto.txt
Grant Taylor <gtaylor+pht@picante.com>
v3.30, 19 November 1999
This is the Linux Printing HOWTO, a collection of information on how
to generate, preview, print and fax anything under Linux ......

linuxÉÏʹÓÃBIND½¨Á¢DNS·þÎñÆ÷

ÔÚ±¾ÎÄÖÐÎÒÃÇÓÃRed Hat×÷ΪʾÀý£¬ËùÒÔÄãÒ²ÐíÏ£ÍûʹÓÃBINDµÄRPM°æ±¾£¬¿ÉÒÔͨ¹ýËÑË÷www.rpmfind.netÕÒµ½Ëü£¬ÒòΪʹÓÃRPMÐÎʽµÄ·¢ÐаüÊÇ°²×°BIND×î¼ò±ãµÄ·½·¨¡£
1.ÏÂÔØÁËBINDµÄRPMÖ®ºó£¬±ÈÈçbind-9.1.0-10.i386.rpm£¬ÐèÒªÒÔ³¬¼¶Óû§µÄÉí·ÝÖ´ÐÐrpm -ivh bind-9.1.0-10.i386.rpmÃüÁî¡£ÔÚRPM°²×°BINDʱҪעÒâ¼ì²éÈκÎÄܹ»µ¼Ö°²× ......

LinuxÓû§ºÍ×é

Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms
À´µãÒôÀÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ