Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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É豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

¡¾×ª¡¿LinuxʹÓðïÖú˵Ã÷

Viʹ Óà ˵ Ã÷
Linux×÷Ϊһ¸ö¶àÓû§,¶àÈÎÎñµÄ²Ù×÷ϵͳ,ÓÐ×ÅÇ¿´óµÄ¹¦ÄÜ.±¾ÆªÎÒÃǶÔÕÕDOS½²½âһЩÓëDOS¹¦ÄÜÏàËƵÄLinuxÖ÷ÒªÃüÁî,Ï£ÍûÎÒÃÇ˳ÀûµÄ½øÈëµ½LinuxÊÀ½ç.¸üÏêϸµÄÃüÁîÔÚÒÔºóµÄƪ·ùÀïÒÔTurboLinuxΪÀý½øÐзÖƪ½éÉÜ
Ò»,Æô¶¯
LinuxµÄÆô¶¯²Ù×÷¹ý³ÌºÍDOSÏàËÆ(¾¡¹ÜÈç´Ë,µ«×÷Ϊ²Ù×÷ϵͳ±¾Éí,LinuxÔÚÆô¶¯ºÍÍ˳öʱËù×÷µÄ¹ ......

linuxÇý¶¯ ×ÔÐýËøµÄÔËÓÃ


linuxÇý¶¯ ×ÔÐýËøµÄÔËÓÃ
//hello.c
#define __NO_VERSION__
#include <linux/module.h>
#include <linux/config.h>
#include <linux/version.h>
#include <asm/uaccess.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#inc ......

Red Hat Enterprise Linux 5·þÎñÆ÷ÅäÖÃÖ®VsftpdÅäÖÃ

 Ò»¡¢°²×°ºÍÆô¶¯
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.Æô¶¯ºÍ¹Ø±Õ
Æô¶¯ÃüÁîΪ£º
³ÌÐò´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ