LinuxÏÂWebminÅäÖÃ
Ò»¡¢Óû§¹ÜÀí»ù´¡
ÔÚLinux»·¾³Ï¶ÔÓû§µÄ¹ÜÀíÓжàÖÖ·½Ê½£¬°üÀ¨Óñ༹¤¾ßVi¡¢emacsµÈ¶Ô/etc/passwd½øÐвÙ×÷»òÖ±½ÓʹÓÃ
addusr¡¢deleusrµÈÓû§¹ÜÀíÃüÁîÒÔ¼°Ê¹ÓÃpwconvÃüÁîʹ/etc/passwdÓëshadowÎļþ±£³ÖÒ»Ö¡£ÎÒÃÇÏÈÀ´¿´¿´LinuxÏÂÓÃ
»§¹ÜÀíµÄ³£ÓòÙ×÷¶¼×öÁËЩʲô°É¡£
1¡¢Ôö¼ÓÓû§
Ôö¼ÓÓû§ÓÐÈý¸ö¹ý³Ì:
(1) ÔÚ/etc/passwdÎļþÖÐдÈëÐÂÓû§µÄÈë¿ÚÏî¡£
(2) ΪеǼÓû§½¨Á¢Ò»¸öHOMEĿ¼¡£
(3) ÔÚ/etc/groupÖÐΪÐÂÓû§Ôö¼ÓÒ»¸öÈë¿ÚÏî¡£
ÔÚ
/etc/passwdÎļþÖÐдÈëеÄÈë¿ÚÏîʱ£¬¿ÚÁ·Ö¿ÉÏÈÉèÖÃΪNOLOGIN£¬
ÒÔÃâÓÐÈË×öΪ´ËÐÂÓû§µÇ¼¡£ÐÂÓû§Ò»°ã¶ÀÁ¢ÎªÒ»¸öÐÂ×飬GIDºÅÓëUIDºÅÏàͬ(³ý·ÇËûÒª¼ÓÈëÄ¿Ç°ÒÑ´æÔÚµÄÒ»¸öÐÂ×é)£¬UIDºÅ±ØÐëºÍÆäËûÈ˲»
ͬ£¬HOMEĿ¼һ°ãÉèÖÃÔÚ/usr »ò/homeĿ¼Ï£¬½¨Á¢Ò»¸öÒÔÓû§µÇ¼ÃûΪÃû³ÆµÄĿ¼×öΪÆäÖ÷Ŀ¼¡£
2¡¢É¾³ýÓû§
ɾ³ýÓû§Óë¼ÓÓû§µÄ¹¤×÷ÕýºÃÏà·´£¬Ê×ÏÈÔÚ/etc/passwdºÍ/etc/groupÎļþÖÐɾ³ýÓû§µÄÈë¿ÚÏȻºóɾ³ýÓû§µÄHOMEĿ¼ºÍËùÓÐÎļþ¡£
rm -r /usr/loginname ɾ³ýÓû§µÄÕû¸öĿ¼¡£
/usr/spool/cron/crontabsÖÐÓÐcrontabÎļþ£¬Ò²Ó¦µ±É¾³ý¡£
3¡¢½«Óû§ÒƵ½ÁíÒ»¸öϵͳ
Õâ
ÊÇÒ»¸ö¸´ÔÓµÄÎÊÌ⣬²»Ö»ÊÇ¿½±´Óû§µÄÎļþºÍÓû§ÔÚ/etc/passwdÎļþÖеÄÈë¿ÚÏî¡£Ê×ÏÈÒ»¸öÎÊÌâÊÇÓû§µÄUIDºÍGID¿ÉÄÜÒѾÓÃÓÚÁíÒ»¸öϵͳ£¬Èô
ÊdzöÏÖÕâÖÖÇé¿ö£¬±ØÐë¸øÒªÒƶ¯µÄÓû§·ÖÅäÁíÍâµÄUIDºÍGID£¬µ«Èç¹û¸Ä±äÁËÓû§µÄUID
ºÍGID£¬¾Í±ØÐëËÑË÷¸ÃÓû§µÄÈ«²¿Îļþ£¬½«ÎļþµÄÔUIDºÍGID¸Ä³ÉеÄUIDºÍGID¡£ ÓÃfindÃüÁî¿ÉÒÔÍê³ÉÕâÒ»Ð޸ģº
find . -user olduid -exec chown newuid {} ;
find . -group oldgid -exec chgrp newgid {} ;
Ò²Ðí»¹ÒªÎªÓû§ÒÆ×ßÏÂÃæµÄһЩÎļþ£º
/usr/mail/userºÍ/usr/spool/cron/crontabs/user¡£
Èç
¹ûÓû§²»ÊÇ´Ó±¾ÏµÍ³¹ÜÀíÔ±µÄϵͳÒÆÀ´£¬ÔòÓ¦¶Ô¸ÃÓû§µÄĿ¼½á¹¹ÔËÐгÌÐò¼ì²é¡£Ò»¸ö²»°²È«ÏµÍ³µÄÓû§£¬¿ÉÄÜÓÐÓë¸ÃÓû§ÆäËüÎļþ´æÔÚÒ»ÆðµÄSUID/SGID
³ÌÐò£¬¶øÕâ¸öSUID/SGID³ÌÐòÔÚ±ðµÄϵͳÖпÉÄÜÊôÓÚÁíÒ»¸öÓû§¡£ÔÚÕâÖÖÇé¿öÏ£¬Èç¹û
ÓÃcpio»òtarÃüÁÓû§µÄĿ¼½á¹¹¿½±´µ½±¾ÏµÍ³£¬SUID/SGID³ÌÐòÒ²½«»á¿½±´µ½±¾ÏµÍ³¶øûÓÐÈκξ¯¸æÐÅÏ¢¡£Ó¦ÔÚÔÊÐíÓû§Ê¹ÓÃÐÂϵͳÒÔÇ°ÏÈɾ³ý
ÕâÖÖÎļþµÄSUID/SGIDÐí¿É¡£×ÜÖ®£¬Ê¼ÖÕ¼á³Ö¼ì²éËùÒÆÓû§µÄÎļþÊÇÒ»ÖÖ¸ü°²È«µÄ·½·¨¡£Ò²¿ÉÒÔÓÃsuÃüÁî½øÈëÓû§µÄ»§Í·£¬ÔÙ¿½±´Óû§Îļþ£¬ÕâÑùÎļþµÄ
ËùÓÐÕß¾ÍÊǸÃÓû§£¬¶ø²»ÊÇroot
¡£ÕâЩ²Ù×÷¹ý³ÌÓÐЩ¹ýÓÚ¸´ÔÓ£¬µ±
Ïà¹ØÎĵµ£º
Linux²»ÐèÒª´ÅÅÌËéƬÕûÀí¡£
ÒÔÏÂÒý×Ôlinux¹Ù·½ÍøÕ¾¶ÔËéƬµÄ½â˵£ºÀ´Ô´ÓÚ
http://www.linux.org/docs/ldp/howto/Partition/appendix.html#fragmentation
ÒýÓÃ:
10.4. Some facts about file systems and fragmentation
Disk
space is administered by the operating system in units of ......
LinuxÏÂBluetoothÐÒéÕ»µÄʵÏÖ. LinuxÏ¿ª·ÅµÄÀ¶ÑÀÐÒéÕ»Ö÷Òª°üÀ¨IBM¹«Ë¾µÄBlueDrekar£¬Nokia¹«Ë¾µÄAffix, Axis¹«Ë¾µÄOpenBTºÍ¹Ù·½ÐÒéÕ»BlueZ¡£ÎÒÃÇÖ÷ÒªÃæ¶ÔBluezÀ´Ì½ÌÖ¡£
BlueZ»ù´¡´úÂë¾ùÊÇÓÉMaxim KrasnyanskyÍê³ÉµÄ¡£°üÀ¨£ºHCI£¬L2CAP£¬RFCOMMºÍ»ù±¾socketµÄʵÏÖ¡£Ëû¾ÍÖ°ÓÚQualcomm(¸ßͨ)¡£Marcel Holtmann¿ª·¢²ãµÄÐÒ ......
±ÈÈçtopÕâ¸ö¹¤¾ß£¬Ëû»áÏÔʾ3ÖÖÊý¾Ý£¬×÷Õß·Ö±ð½âÊÍÈçÏ£º VIRT£ºvirtual memory usage¡£VirtualÕâ¸ö´Ê·Ç³£Éñ£¬Ò»°ã½âÊÍÊÇ£ºvirtual adj.ÐéµÄ, ʵÖʵÄ, [Îï]ÓÐЧµÄ, ÊÂʵÉϵġ£µ½µ×ÊÇÐéµÄ»¹ÊÇʵµÄ£¿ÈÃGoogle¸øDefineÖ®ºó£¬½«¾ÍÃ÷°×Ò»µã£¬¾ÍÊÇÕⶫÎ÷»¹ÊÇ·ÇÎïÖʵģ¬²»¹ýÓÐЧ¹ûµÄ£¬²»·¢ÉúÔÚÕæʵÊÀ½çµÄ£¬·¢ÉúÔÚÈí¼þÊÀ½çµÄµÈµÈ¡£Õâ ......
¼òÊö
Ò» ÁÐÎļþÇåµ¥
¶þ£ºÖ´ÐгÌÐò
Èý£ºÏÔʾÊý¾Ý
ËÄ£º¶Ïµã(breakpoint)
Î壮¶ÏµãµÄ¹ÜÀí
Áù£®±äÁ¿µÄ¼ì²éºÍ¸³Öµ
Æß. µ¥²½Ö´ÐÐ
°Ë£®º¯ÊýµÄµ÷ÓÃ
&nb ......
À´Ô´£ºhttp://www.armjishu.com/index.php
´ó²¿·ÖÈ˶¼²»Ì«ÇåÎúµÄÒÉ»ó-----LinuxÖеĵØÖ·¿Õ¼ä
ÓÐÕâôһϵÁеÄÎÊÌ⣬ÊÇ·ñÔÚÀ§ÈÅ×ÅÄ㣺Óû§³ÌÐò±àÒëÁ¬½ÓÐγɵĵØÖ·¿Õ¼äÔÚʲô·¶Î§ÄÚ£¿Äں˱àÒëºóµØÖ·¿Õ¼äÔÚʲô·¶Î§ÄÚ£¿Òª¶ÔÍâÉè½øÐзÃÎÊ£¬I/OµÄµØÖ·¿Õ¼äÓÖÊÇʲôÑùµÄ£¿
ÏȻشðµÚÒ»¸öÎÊÌâ¡£Linux×î³£¼ûµÄ¿ÉÖ´ÐÐÎļþ¸ñʽΪelf(E ......