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
¡£ÕâЩ²Ù×÷¹ý³ÌÓÐЩ¹ýÓÚ¸´ÔÓ£¬µ±
Ïà¹ØÎĵµ£º
×ܽ᣺
zhy2111314
À´×Ô£º
LinuxSir.Org
ÕûÀí£º
±±ÄÏÄϱ±
ͻ񻣼
±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»ÎÒ¶Ô±¾ÎĽøÐÐÁËÔÙ´ÎÕûÀí£¬Îª·½±ã´ó¼ÒÔĶÁ£»
Ŀ¼
°æȨÉùÃ÷
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
Ò»¡¢find ÃüÁî¸ñʽ
1¡¢findÃüÁîµÄÒ» ......
LinuxÏÂBluetoothÐÒéÕ»µÄʵÏÖ. LinuxÏ¿ª·ÅµÄÀ¶ÑÀÐÒéÕ»Ö÷Òª°üÀ¨IBM¹«Ë¾µÄBlueDrekar£¬Nokia¹«Ë¾µÄAffix, Axis¹«Ë¾µÄOpenBTºÍ¹Ù·½ÐÒéÕ»BlueZ¡£ÎÒÃÇÖ÷ÒªÃæ¶ÔBluezÀ´Ì½ÌÖ¡£
BlueZ»ù´¡´úÂë¾ùÊÇÓÉMaxim KrasnyanskyÍê³ÉµÄ¡£°üÀ¨£ºHCI£¬L2CAP£¬RFCOMMºÍ»ù±¾socketµÄʵÏÖ¡£Ëû¾ÍÖ°ÓÚQualcomm(¸ßͨ)¡£Marcel Holtmann¿ª·¢²ãµÄÐÒ ......
°´: ¾¡¹ÜÎÒÃÇÒѾ²»Ï°¹ß¿´³¤Æª´óÂÛ, µ«ÎÒ»¹ÊÇҪ˵, ÕâÊÇһƪֵµÃÄã´ÓÍ·¶Áµ½Î²µÄ³¤ÆªÎÄÕÂ.
2005Äê9ÔÂ22ÈÕ£¬Ç廪ÔÚ¶Á²©Ê¿ÉúÍõÛóÔÚˮľÉçÇøBLOGÉÏ·¢±íÁË¡¶Ç廪ÃεķÛËé--д¸øÇ廪´óѧµÄÍËѧÉêÇë¡·Ã÷È·ÒªÇóÍËѧ, ÒýÆðÉç»á¸÷½ç¹ã·ºÕùÂÛ. Ëû´´×÷µÄ³¤ÆªÎÄÕ¡¶ÍêÈ«ÓÃLinux¹¤×÷¡·, ÑóÑóÁ½Íò¶à×Ö, ´Ó²»Í¬½Ç¶È¾Ó¸ßÁÙϵIJûÊöÁËËûÑÛÖÐL ......
±ÈÈçtopÕâ¸ö¹¤¾ß£¬Ëû»áÏÔʾ3ÖÖÊý¾Ý£¬×÷Õß·Ö±ð½âÊÍÈçÏ£º VIRT£ºvirtual memory usage¡£VirtualÕâ¸ö´Ê·Ç³£Éñ£¬Ò»°ã½âÊÍÊÇ£ºvirtual adj.ÐéµÄ, ʵÖʵÄ, [Îï]ÓÐЧµÄ, ÊÂʵÉϵġ£µ½µ×ÊÇÐéµÄ»¹ÊÇʵµÄ£¿ÈÃGoogle¸øDefineÖ®ºó£¬½«¾ÍÃ÷°×Ò»µã£¬¾ÍÊÇÕⶫÎ÷»¹ÊÇ·ÇÎïÖʵģ¬²»¹ýÓÐЧ¹ûµÄ£¬²»·¢ÉúÔÚÕæʵÊÀ½çµÄ£¬·¢ÉúÔÚÈí¼þÊÀ½çµÄµÈµÈ¡£Õâ ......
¹²ÏíÎļþϵͳÎļþ´«Ê䣬ÊÇÍøÂçÕì¿ØÏîÄ¿ÖеÄÒ»¸öʵ¼Ê²Ù×÷¡£ËüÊÇΪÁ˵ÖÖÆÈëÇÖÕß½øÈëÄÚÍø¶øÌá³öµÄÒ»ÖÖ°²È«½â¾ö·½°¸¡£ÔÚʵ¼Ê´«Êä¹ý³ÌÖУ¬ÍØÆËͼÈçÏ£º
ʵ¼Ê»·¾³¾ùÔÚLinuxÖ÷»úϽøÐС£²ÉÓÃOCFS2Îļþ¼¯ÈºµÄ·½Ê½¡£ÍⲿÖ÷»úAºÍÄÚ²¿Ö÷»úBÖ®¼äµÄͨѶ£¬¾ùͨ¹ý¹²Ïí´æ´¢¿Õ¼äC½øÐнÓÊܺͷ¢ËÍ¡£ÕâÑù¼´Ê¹ÈëÇÖÕßÄÃÏÂÍⲿÖ÷»úA£¬Ò²ÎÞ·¨Éø͸ÄÚ ......