red hat enterprise linux 5.1 ûÓеط½ÉèÖÃrootÃÜÂë
ÎÒ°²×°red hat enterprise linux 5.1 µÄʱºò¡£Ã»ÓÐÉèÖÃrootÃÜÂë¡£
Ö»ÓÐÉèÖÃÒ»¸öÆÕͨÕʺš£
²»¿ÉÄÜ°É ¿Ï¶¨Óиö»ÃæÊÇÈÃÄãÊäÈërootÓû§ÃûÃÜÂë
Äã¿Ï¶¨´í¹ýÁË
ûÃÜÂëÄܽøÈ¥£¿
Óõ¥Óû§Ä£Ê½½øÈ¥ÔÙ¸ÄÒÔÏÂÃÜÂë
RHEL5ÒÔÉÏÔÚ°²×°Ê±¶¼ÊÇÒªÊäÈërootÃÜÂëµÄ£¬¿ÉÄÜÊÇÄãûÓп´¼û¡£
ÁíÍâÎÒÒ²ÏëÖªµÀÔÚ²»ÖªµÀrootÃÜÂëµÄʱºòÈçºÎÔÚϵͳÄÚÐÞ¸ÄrootÃÜÂë
ÐÞ¸Ä/etc/shadowÕâ¸öÎļþ£¬Ö±½Ó¼ÓÈëÃØÃÜ¡£Õâ¸öÊDZȽϱ©Á¦µÄ·½·¨£¬²»ÊìϤ²»ÒªÕâÑù×ö¡£
ûÓÐrootȨÏÞ ÄãÈçºÎ¸ü¸Ä/etc/shadow ?
¿ª»úʱ µ¥Óû§Ä£Ê½½øÈ¥Ö±½ÓÐÞ¸ÄrootÃÜÂë¼´¿É
¿ª»úµÄʱºòÖØÐÂÉèÖÃrootÃÜÂë¡£¡£
1¡¢ÔÚ²»µÇ¼µÄÇé¿öÏ»ñµÃrootȨÏÞ£ºÈç¹ûûÓÐÉèÖÃGRUBÃÜÂ룬ÄÇÎÒÃÇ¿ÉÒÔʹÓÃ×î¼òµ¥µÄ·½·¨£¬Ê×ÏÈÆô¶¯µçÄÔ£¬µÈ´ýGRUB²Ëµ¥£¨Èç¹ûGRUB²Ëµ¥Òþ²Ø£¬¿ÉÒÔ°´Escµ÷³ö£©£¬ÔÚGRUBÆô¶¯²Ëµ¥ÖУ¬Ñ¡Ôñ²Ëµ¥Ïî"Ubuntu, kernel 2.6.12-*-* (recovery mode)"£¬Ò²¾ÍÊÇ¡°»Ö¸´Ä£Ê½¡±µÄÄǸö²Ëµ¥Ï°´EnterÆô¶¯¾Í¿ÉÒÔÁË£¬ÕâÑù¾Í½øÈëÒ»¸öÓÐrootȨÏÞµÄShell¡£ÁíÍâÒ»¸ö°ì·¨ÊÇÓÃUbuntu Live CD»ñµÃrootȨÏÞ£¬ÓÃUbuntu°²×°ÅÌÆô¶¯µçÄÔ£¬µ±ÏÔʾ ¡°boot:¡±Ê±£¬ÊäÈë¡°rescue¡±£¨¼´»Ö¸´Ä£Ê½£©£¬°´ÆÁÄ»Ìáʾ²Ù×÷¾Í¿ÉÒÔÁË¡£»ñµÃÁËrootȨÏ޺󣬾ͿÉÒÔ×öÎÒÃÇÐèÒªµÄ¹¤×÷µÄ£¬±ÈÈçÐÞ¸ÄÓû§µÄÃÜÂë¡¢ÔÚ/homeĿ¼Ï²鿴Óû§Ãû£¨¼´Ö÷Ŀ¼Ãû£©£¬Ò²¿ÉÔÚ/etc/passwdÖв鿴¡£
¡¡¡¡2¡¢Í¨¹ý¸Ä±äÄÚºËÆô¶¯²ÎÊý»ñµÃrootȨÏÞ£ºÆô¶¯µçÄÔ£¬µÈ´ýGRUB²Ëµ¥(Èç¹ûGRUB²Ëµ¥Òþ²Ø£
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
Linux²»Õý³£¹Ø»úµ¼ÖÂϵͳ»µ£¬ÇëÎÊÔõô¼ì²éºÍÐÞ¸´ÏµÍ³£¿
ÔÚ¸ÕÆô¶¯µÄʱºò»áÓÐÌáʾµÄ¡£
ÐÞ¸´¿ÉÒÔ¿¿livecd
»òÕß°Ñ»ù±¾ÏµÍ³²¿·ÖÖØа²×°¼´¿É
ÊDz»ÊÇϵͳ±à³ÌÁËread-onlyµÄÀ²£¿ÎÞ·¨ÍùϵͳдÈëÊý¾Ý°¡£¿
ÓеÄÇé ......
windows ϵÄC++±à³Ì±È½ÏÊìÁ·¡£ÏÖÔÚÐèҪתÈëlinuxÏ¡£
ÎÒÓõÄÈí¼þÊÇ Source InsightºÍ SecureCRT , Ô¶³ÌÁ¬½Ó linux·þÎñÆ÷¡£
ÓÉÓÚÎÒµÄ Liunx»ù´¡Îª0. ¾ÍÊÇ˵ÒÔÇ°´ÓÀ´¶¼Ã» ......
ÎÒ°²×°Ò»Ì¨redhat linux5+oracle 10gµÄ·þÎñÆ÷£¬±Ê¼Ç±¾£¨XPϵͳ£©°²×°ÁËoracle 10g¿Í»§¶Ë,½á¹ûÀÏÊdzö12560µÄ´íÎó£¬Çë¸ßÊÖÖ¸µãÒ»¶þ£¬
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dpor ......
ÏëѧϰÏÂlinuxϵͳϵÄc++±à³Ì£¬¿É²»ÖªµÀѡʲô°æ±¾ºÃ£¬Çë´óϺÃÇÖ¸µãÏÂСµÜ¡£ÓÃredhat¿ÉÒÔ²»£¿ÓÉÓÚredhatµÄ×îºóÒ»¸ö·¢Ðа汾ÊÇ9£¬ÏÖÔÚÒѾֹͣ·¢ÐÐ×ÀÃæµÄ°æ±¾ÁË£¬¸ÄΪfedoraϵÁÐÁË£¬ÕâÁ½ÕßÓÐʲô²î±ð£¿ÊÇ·ñ¶¼ÄÜÓÃÓÚc ......