Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚlinuxÍü¼ÇÃÜÂëµÄÒ»¸ö×î¼òµ¥µÄ·½·¨

ÍøÉÏÓкܶàµÄ·½·¨£¬¹ØÓÚÍü¼ÇlinuxµÇ¼ÃÜÂëÖ®ºóÓ¦¸ÃÔõô°ì¡£ÓÐÎåÖÖ·½·¨£¬¶¼ºÜºÃ¡£
±¾ÈËÒÔΪÓÃgrubÒýµ¼µÄÄÇÖÖ×îʵÓ㬺Ǻǣ¡ÊÔÁËһϣ¬¹ûÈ»¿ÉÒÔ£¡£¡
grubÒýµ¼

1. ÔÚ³öÏÖgrub»­Ãæʱ£¬Ñ¡ÔñlinuxÒýµ¼ÏȻºó°´e¼ü
2. Ñ¡ÔñÒÔkernel¿ªÍ·µÄÒ»ÐУ¬ÔÙ°´e ¼ü£¬ÔÚ´ËÐеÄĩ⣬°´¿Õ¸ñ¼üºóÊäÈësingle£¬ÒԻسµ¼üÀ´Í˳ö±à¼­Ä£Ê½£»
3. »Ø³µ·µ»Ø£¬È»ºó°´b¼üÆô¶¯£¬¼´¿ÉÖ±½Ó½øÈëlinuxµ¥Óû§Ä£Ê½
4. vi /etc/passwd
ɾ³ýrootÏîÖеÄÃÜÂë
(ÕâÀïÒ²¿ÉÒÔÖ±½ÓʹÓÃpasswdÃüÁîÖØÐÂÉèÖÃrootµÄÃÜÂë)
5¡¢rebootÖØÆô£¬rootÃÜÂëΪ¿Õ


Ïà¹ØÎĵµ£º

linux shell ×Ö·û´®½ØÈ¡×ܽá

linuxÖжÔ×Ö·û´®µÄ´¦Àí£º
1.×Ö·û´®·Ö¸îÀýÈç  AAAAA-BBBBBB  °´-·Ö¸îȥǰºóÁ½²¿·Ö
 cut £º
[rich@localhost ~]$ str=AAAAA-BBBBBB
[rich@localhost ~]$ echo $str | cut -d "-" -f 1
AAAAA
[rich@localhost ~]$ echo $str | cut -d "-" -f 2
BBBBBB
½âÊÍ£ºA £ü B  ½«AÃüÁîµ ......

»ñÈ¡Linux 2.6.x sys_call_table


ÔÚlinuxÖÐËùÓеÄsyscall¶¼Êǵ÷ÓÃint 0x80, int 0x80µÄÖжϷþÎñ³ÌÐòΪsystem_call(arch/x86/kernel/traps_32.c:set_system_gate(SYSCALL_VECTOR,&system_call).  system_call (arch/x86/entry_32.S)×îÖÕcall *sys_call_table(,%eax,4)À´Íê³ÉÒ»¸ösyscallµ÷ÓÃ. 
¼´ int 0x80 -> system_call -> s ......

[ת]ÈçºÎʵÏÖWindowsÔ¶³ÌÁ¬½ÓLinux²Ù×÷ϵͳ

 
×¼±¸ºÃÁ½Ì¨ÒѾ­ÉÏÍøµÄµçÄÔ¡£
 
1¡¢ÉèÖõȻáÒªÁ¬½Óµ½µÄLinuxϵͳ
 
(1)±ØÐëÊÇ°²×°ÁËtelnetÈí¼þµÄϵͳ£¬ÆäÖиÃÈí¼þ·ÖΪÁ½²¿·Ö£¬·Ö±ðÊÇtelnet-clientºÍtelnet-server£¬ÆäÖÐÇ°ÕßĬÈÏÒѾ­×°ºÃ£¬¶øºóÕßÔòÐè×Ô¼º½øÐа²×°¡£ÔÚÕâÀ±ÊÕß×Ô¼ºµÄÊÇRedHatµÄFC6ϵͳ£¬ËùÒÔ¿ÉÒÔÊäÈëÃüÁîyum install telnet-serve ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ