linuxϵͳ¹ÜÀí
ÕʺŹÜÀí
/etc/passwd ϵͳÕʺÅÐÅÏ¢
/etc/shadow ÕʺÅÃÜÂëÐÅÏ¢ ¾MD5 32λ¼ÓÃÜ
ÔÚÃÜÂëÀ¸Ç°Ãæ¼Ó¡º * ¡»¡º ! ¡»½ûֹʹÓÃijÕʺÅ
/etc/group ϵͳȺ×éÐÅÏ¢
/etc/gshadow
newgrp ¸Ä±äµÇ½×é
useradd & adduser ½¨Á¢ÐÂÓû§ ---------> useradd -m test ×Ô¶¯½¨Á¢Óû§µÄµÇÈëĿ¼
useradd -m -g pgroup test ---------> Ö¸¶¨ËùÊô¼¶
/etc/default/useradd Ïà¹ØÉ趨
/etc/login.defs UID/GID ÓÐ關µÄ設¶¨
passwd ¸ü¸ÄÃÜÂë -----------> passwd test
usermod ÐÞ¸ÄÓû§ÕʺÅ
userdel ɾ³ýÕʺŠ-----------> userdel -r test
chsh ¸ü»»µÇ½ϵͳʱʹÓõÄSHELL [-l]ÏÔʾ¿ÉÓõÄSHELL;[-s]ÐÞ¸Ä×Ô¼ºµÄSHELL
chfn ¸Ä±äfingerÖ¸ÁîÏÔʾµÄÐÅÏ¢
finger ²éÕÒ²¢ÏÔʾÓû§ÐÅÏ¢
id ÏÔʾÓû§µÄID -----------> id test
groupadd Ìí¼Ó×é
groupmod ÓëusermodÀàËÆ
groupdel ɾ³ý×é
su test ¸ü¸ÄÓû§ su - ½øÈëroot,ÇÒʹÓÃrootµÄ»·¾³±äÁ¿
sudo ÒÔÆäËûÉí·ÝÀ´Ö´ÐÐÖ¸Áî
visudo ±à¼/etc/sudoers ¼ÓÈëÒ»ÐСº
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÆäʵlinuxµÄºº»¯£¬ºÜ¼òµ¥
½øÈëÄãµÄxpϵͳÅÌ£¬È»ºó½øÈëwindows£¬½«ÄãµÄfontsÎļþ¼ÐÈ«²¿¸´ÖƵ½uÅÌÖУ¬½øÈëlinux£¬Ñ°ÕÒÄãµÄlinux×ÖÌåÔÚÄÇÀȻºó°ÑfontsµÄÄÚÈÝÈ«²¿¸´ÖƽøÈ¥
Èç¹û²»ÖªµÀlinuxµÄ×ÖÌåÔÚÄÄ£¿°´Èçϲ½Ö裺
½øÈëÖÕ¶Ë
ÊäÈë“locate £ª.ttf”£¨Èç¹ûlocate£¬²»ÄÜÓã¬ÊäÈë“updatedb”£¬»Ø³µ£¬µ ......
ÔÚLinux²Ù×÷ϵͳÏÂÓÐ3ÀàÖ÷ÒªµÄÉ豸ÎļþÀàÐÍ£º¿éÉ豸¡¢×Ö·ûÉ豸ºÍÍøÂçÉ豸¡£ÕâÖÖ·ÖÀà·½·¨¿ÉÒÔ½«¿ØÖÆÊäÈë/Êä³öÉ豸µÄÇý¶¯³ÌÐòÓëÆäËû²Ù×÷ϵͳÈí¼þ·ÖÀ뿪À´¡£×Ö·ûÉ豸ÊÇÖ¸´æȡʱûÓлº´æµÄÉ豸¡£µäÐ͵Ä×Ö·ûÉ豸°üÀ¨Êó±ê¡¢¼üÅÌ¡¢´®Ðпڵȡ£
×Ö·ûÉ豸Óë¿éÉ豸µÄÖ÷ÒªÇø±ðÊÇ£ºÔÚ¶Ô×Ö·ûÉ豸·¢³ö¶Á/дÇëÇóʱ£¬Êµ¼ÊµÄÓ²¼þI/OÒ»°ã½ô½Ó× ......
#wget http://ftp.isc.org/isc/bind9/9.6.1-P1/bind-9.6.1-P1.tar.gz
#tar zxvf bind-9.6.1-P1.tar.gz
#cd bind-9.6.1-P1
#./configure --prefix=/usr/local/named --enable-threads --disable-openssl-version-check --disable-ipv6
#make && make install
#cd /usr/local/named
#sbin/rndc-confgen > e ......
MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌ춼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
......