¡¾×ª¡¿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
#
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ÈçºÎÔÚlinux¿ª»úʱ×Ô¶¯Æô¶¯smb¹²Ïí·þÎñ£¿
·½·¨1£ºntsysv£¬ÓнçÃ棬ѡÖÐsamba·þÎñ¼´¿É
·½·¨2. chkconfig --add smb
[root@test ~]# chkconfig --add smb
[root@test ~]# chkconfig --list smb
smb ......
½ñÌìѧϰÁËÔÚlinux2.6ƽ̨Ï嵀 char drvier £¬ÔÚlinuxÏÂÍƼöʹÓõÄÊÇcdev½á¹¹ÌåÀ´ÊµÏÖ¶ÔcharacterÉ豸µÄÃèÊö£¬´úÂëÈçÏÂ
/*This module is desired for sunplusapp s3c2440_board */
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/kernel.h> ......
Ò»¡¢°²×°ºÍÆô¶¯
1.¿ÉÓÃÒÔÏÂÃüÁî²éѯÊÇ·ñÒÑ°²×°£º
³ÌÐò´úÂë
#rpm -qa|grep vsftpd
vsftpd-2.0.5-10.e15
Èç¹û³öÏÖÒÔÉϽá¹û£¬±íÃ÷ÒÑ°²×°¡£Èç¹ûδ°²×°£¬¿ÉÔÚRed Hat Enterprise Linux 5°²×°¹âÅÌÖÐÕÒµ½°²×°°ü£¬Ê¹ÓÃÃüÁ
³ÌÐò´úÂë
#rpm -ivh vsftp-2.0.5-10.e15.i386.rpm
2.Æô¶¯ºÍ¹Ø±Õ
Æô¶¯ÃüÁîΪ£º
³ÌÐò´ú ......