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

¡¾×ª¡¿linux Óû§×éµÄȨÏÞ·ÖÅä

1¡¢ ÈçºÎÔÚLinuxϵͳÏÂÌí¼ÓÒ»¸öÕÊ»§£ºÓû§ÃûΪstd02£¬ÃÜÂëΪpwd02?
£º#useradd std02
#passwd std02
³öÏÖÌáʾÊäÈë¿ÚÁîpwd02£¬Ôٴΰ´ÌáʾÊäÈëpwd02
Ò²¿ÉÒÔ:
#useradd -n std02 -p pwd02
2¡¢ н¨Ò»¸ö×ÓĿ¼/home/public£¬ÈÃËü±»ËùÓеÄÓû§¹²Ïí£¬¶øÇÒÓµÓÐËùÓÐȨÏÞ£¬µ«²»Äܱ»·ÇÊôÖ÷ɾ³ý£¿
£º#mkdir /home/public
#chmod a+trwx /home/public
3¡¢ ÈÃÒ»¸ö×ÓĿ¼/home/student02˽Óл¯£¬Ö»ÔÊÐístd02Ëù¶ÀÏí£¿
#mkdir /home/student02
#chown std02 /home/student02 //˽Óл¯
#chmod a-rwx /home/student02 //¶ÀÏí
#chmod u+rwx /home/student02
¼´#chmod 700 /home/student02
4¡¢ ÈçºÎÈÃÒ»Óû§³ÉΪһ¸öÓû§×éȺÖеijÉÔ±£¿
ÀýÈçÈÃstd03³ÉΪstudent×éµÄ³ÉÔ±£¿
£º#groupadd student
#useradd -g student -n std03
5¡¢ ¹æ»®Ò»¸öÓû§Óë×éȺ£ºÓгÌÐò¿ª·¢Ô±5ÈË£¬ÏîÄ¿¹ÜÀíÔ±2ÈË£¬·Ö±ðÈ¡ÃûΪ£ºprg01~prg05£¬mgr01,mgr2£¬²¢·Ö±ð´ÓÊôÓÚ×éprogramÓëmanage£¬ÏÖ°´ÏÂÁÐÒªÇó¹æ»®£º
(1)¡¢Ã¿¸ö¿ª·¢Ô±ÓµÓÐ×Ô¼ºµÄÕÊ»§£¬Óû§Ãû£ºprg??£¬ÃÜÂ룺prog?? £»
(2)¡¢Ã¿¸ö¿ª·¢Ô±´ÓÊôÓÚprogram×飬²¢¹²ÏíÁ½¸ö×ÓĿ¼£ºprogramÓësource£¬¶øÇÒÓµÓÐËùÓÐȨÏÞ£»
(3)¡¢Ã¿¸ö¹ÜÀíÔ±ÓµÓÐ×Ô¼ºµÄÕÊ»§£¬Óû§Ãûmgr??£¬ÃÜÂ룺mngr?? £»
(4)¡¢Ã¿¸ö¹ÜÀíÔ±´ÓÊôÓÚmanage×飬²¢¹²ÏíÁ½¸ö×ÓĿ¼£ºprojectÓëdocument£¬¶øÇÒÓµÓÐËùÓÐȨÏÞ ;
(5)¡¢¿ª±ÙÒ»¸ö¹«¹²×ÓĿ¼/home/public£¬ÈÃËü±»ËùÓеÄÓû§¹²Ïí£¬¶øÇÒÓµÓÐËùÓÐȨÏÞ£¬µ«²»Äܱ»·ÇÊôÖ÷ɾ³ý£¿
£º´´½¨Á½¸ö×éȺ
#groupadd program
#groupadd manage
Ìí¼ÓÎå¸ö¿ª·¢Ô±
#useradd -g program -n prg 01 -p prog01
#useradd -g program -n prg 02 -p prog02
#useradd -g program -n prg 03 -p prog03
#useradd -g program -n prg 04 -p prog04
#useradd -g program -n prg 05 -p prog05
Ìí¼ÓÁ½¸ö¹ÜÀíÔ±
#useradd -g manage -n mgr01 mngr01
#useradd -g manage -n mgr02 mngr02
´´½¨Ëĸö×ÓĿ¼
#mkdir /home/program
#mkdir /home/source
#mkdir /home/project
#mkdir /home/document
#chmod 770 /home/program
#chgrp program /home/program
#chmod 770 /home/source
#chgrp program /home/source
#chmod 770 /home/project
#chgrp manage /home/project
#chmod 770 /home/document
#chgrp manage /home/document
¿ª±ÙÒ»¸ö¹«¹²×ÓĿ¼
#mkdir /home/public
#chmod a+rwxt /home/public
#chmod 777 /home/public
#


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÖеŤ×÷¶ÓÁÐ(work queue)

¹¤×÷¶ÓÁÐ(work queue)ÊÇLinux kernelÖн«¹¤×÷ÍƺóÖ´ÐеÄÒ»ÖÖ»úÖÆ¡£ÕâÖÖ»úÖƺÍBH(bottom half)»òTasklets²»Í¬Ö®´¦ÔÚÓÚ¹¤×÷¶ÓÁÐÊÇ°ÑÍƺóµÄ¹¤×÷½»ÓÉÒ»¸öÄÚºËÏß³ÌÈ¥Ö´ÐУ¬Òò´Ë¹¤×÷¶ÓÁеÄÓÅÊƾÍÔÚÓÚËüÔÊÐíÖØе÷¶ÈÉõÖÁ˯Ãß¡£
linux 2.6.20ÒԺ󣬹¤×÷¶ÓÁлúÖƺÍ֮ǰµÄ°æ±¾ÓÐÒ»µã²»Í¬£¬ÔÚÍøÉÏÕÒÁËÒ»µã×ÊÁÏ£¬Ò²ÏàÓ¦µÄ¿´ÁËһЩcode£ ......

ÈçºÎÔÚlinux¿ª»úʱ×Ô¶¯Æô¶¯smb¹²Ïí·þÎñ£¿

ÈçºÎÔÚlinux¿ª»úʱ×Ô¶¯Æô¶¯smb¹²Ïí·þÎñ£¿
 
·½·¨1£ºntsysv£¬ÓнçÃ棬ѡÖÐsamba·þÎñ¼´¿É
 
 
 
·½·¨2. chkconfig --add smb
 
[root@test ~]# chkconfig --add smb
[root@test ~]# chkconfig --list smb
smb             ......

¡¾×ª¡¿linuxÎļþºÍĿ¼¹ÜÀí

1¡¢LinuxÎļþϵͳÊÇ´Ó/¿ªÊ¼µÄ£»
ÔÚLinux²Ù×÷ϵͳµÄÎļþ¹ÜÀíÖУ¬ÃüÁîÐÐģʽ£¨ÔÚ¿ØÖÆ̨»òÖÕ¶ËÏ£©µÄÎļþ»òĿ¼¹ÜÀí£¬ÒªÉ漰·¾¶ÕâÒ»¸ÅÄÕâÊÇLinuxÃüÁîÐвÙ×÷µÄ×î»ù´¡µÄ»ù´¡¡£Èç¹ûÎÒÃÇÁ˽âÁË·¾¶µÄ¸ÅÄ¾Í¿ÉÒÔËæÐÄËùÓûµÄ½øÈëÈκÎĿ¼£¬½øÐÐÎÒÃÇÏëµÄ¹¤×÷¡£
Linux Îļþϵͳ£¬ÊÇÒ»¸ö³ÊÊ÷Ðνṹ£¬ÊÇ´Ó/×öΪÈë¿Ú£¬/£¨Ò²±»³ÆΪ¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ