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

linuxϵÄÇл»Óû§ - Linux/UnixÉçÇø / ³ÌÐò¿ª·¢Çø

µ±Ç°Óû§ÊÇuser1£¬ÏëÇл»Óû§µ½user2£¬È»ºó×öһЩ¶¯×÷ÒԺ󷵻ص½user1.
Çл»Ê±²»ÒªÊäÈëÃÜÂ룬»òÕßÔÚ³ÌÐòÖн«ÃÜÂëдËÀ¶¼ÐУ¬Ö»Òª²»ÌáʾÊäÈëÃÜÂë¾ÍÐС£

ÈçºÎʵÏÖÉÏÃæµÄ¹¦ÄÜ£¿

˳±ã˵һÏ£¬sudoºÍtelnetÏȲ»¿¼ÂÇ¡£¾¡Á¿²»Òª¸ÄϵͳÅäÖᣳýÁËÕâÁ½¸öÒÔÍâÓÐʲô·½·¨£¿

¸Õ½Ó´¥linux±à³Ì£¬ºÜÃÔ㣬ϣÍû¸÷λ¶à¸øÒâ¼û£¬Ö»ÒªÓÐÆô·¢¾Í¸ø·Ö¡£
ÔÚÏߵȡ£¡£¡£



³ý·ÇÄãÊÇroot£¬²»È»µÄ»°Ó¦¸ÃÊDz»¿ÉÄÜ°É¡­¡­

³ýÁËrootÖ®Í⣬²»ÐС£

³ýÁËrootÖ®Íâ ²»¿ÉÄÜ

rootȨÏÞ ¿ÉÒÔËæÒâsuµ½±ðµÄÓû§ ²»ÓÃÊäÈëÃÜÂë
ÆÕͨÓû§²»¿ÉÒÔ ÒªÊÇËæ±ã¾ÍÄÜʵÏֵĻ° ÄÇ°²È«ÐԾͳÉÎÊÌâÁË

rootȨÏÞ²»ÊÇÄĸöÈ˶¼ÄÜÓеģ¬ËùÒÔ·ÅÆúÁËsudo¡£ÒòΪÐèÒª¸ÄÅäÖá£
·ÅÆútelnetÊÇÒòΪ£¬ÒÔuser2µÄÉí·ÝµÇ¼ÒÔºóÒª½øÐи÷ÖÖ¸÷ÑùµÄ¶¯×÷£¬Èç¹ûÓÃtelnetµÄ»°£¬ÎÞÒɸø×Ô¼ºÔö¼ÓµÄÐí¶à²»±ØÒªµÄ´úÂë¡£²»ÈçÖ±½ÓshellÀ´µÄʵÔÚ¡£

²»ÖªµÀÕâÑù¿É²»¿ÉÒÔ ÓÃûÓÐÃÜÂëµÄsshÃÜÔ¿ÈÏÖ¤µÄ·½Ê½
ÔÚuser1µÄģʽÏ ÒÔuser2µÇ½µ½±¾»úÖ´ÐÐcommand
ssh user2@localhost command

¾ÀÕýһϣ¬·ÅÆúsudoµÄÔ­ÒòÊÇÒªÒÔrootÉí·ÝÈ¥¸ÄÅäÖ㬶øÎÒÎÞ·¨µÃµ½rootȨÏÞ¡£

Googleµ½ÁËexpect£¬µ«ÊÇÐèÒª°²×°£¬ËùÒÔд·ÅÆúÁË£¬ÒòΪ¿ÉÒÔËæ±ã°²×°Èí¼þ¡£¡£¡£

´ó¼ÒÏëÏ뻹ÓÐʲô·½·¨£¿

to steptodream£º
sshÃÜÔ¿ÈÏÖ¤Ï൱ÓÚuser1ÍêÈ«ÓµÓÐuser2µÄȨÏÞÁË°É£¬¼´Ê¹²»ÓÃÇл»µ½user2£¬Ò²ÄÜÖ´ÐÐÖ»ÓÐuser2²ÅÓÐȨÏÞÖ´ÐеĶ¯×÷°É£¿
ÄÇôÈç¹ûÎÒÓÃuser1´ò¿ªuser2²ÅÓÐȨÏÞ´ò¿ªµÄ¿ÉÖ´ÐÐÎļþa£¬ps -afÒÔºóÏÔʾµÄaµÄÖ´ÐÐÓû§ÊÇuser1»¹ÊÇuser2£¿

ÒýÓÃ

to steptodream£º
sshÃÜÔ¿ÈÏÖ¤Ï൱ÓÚuser1ÍêÈ«ÓµÓÐus


Ïà¹ØÎÊ´ð£º

linuxÃüÁî´óÈ« - Linux/UnixÉçÇø / UNIXÎÄ»¯

×ÉѯQQ£º269562808
bzip2recover
¹¦ÄÜ˵Ã÷£ºÓÃÀ´ÐÞ¸´Ë𻵵Ä.bz2Îļþ¡£
Óï·¨£ºbzip2recover[.bz2ѹËõÎļþ]
²¹³ä˵Ã÷£ºbzip2ÊÇÒÔÇø¿éµÄ·½Ê½À´Ñ¹ËõÎļþ£¬Ã¿¸öÇø¿éÊÓΪ¶ÀÁ¢µÄµ¥Î»¡£Òò´Ë£¬µ±Ä³Ò»Çø
¿éËð»µÊ±£¬±ã¿ÉÀû ......

ѧϰLinuxµÄÃÔã - C/C++ / CÓïÑÔ

ÎÒѧϰLinuxÓÐÒ»¶Îʱ¼äÁË£¬Ñ§Ï°¹ýshell½Å±¾±àд£¬¿´¹ý¡¶Unix¸ß¼¶»·¾³±à³Ì¡·£¬µ«ÊÇ×ܾõµÃ¿´µÄºÍдµÄ³ÌÐòºÜÉÙ£¬¾õµÃ¿´ÁËÖ®ºóûÓÐʲô×÷Óã¬Ö»ÊǼÇסÁËЩº¯Êý¶øÒÑ£¬Ã»ÓÐʵս¡£¶øÇҸоõÏÖÔÚѧϰLinuxºÜûÓз½Ïò£¬²»Ö ......

Çë½Ìlinux×é²¥ÎÊÌâ¡£ - Linux/UnixÉçÇø / ³ÌÐò¿ª·¢Çø

Îҵİå×ÓÓÃǶÈëʽlinuxϵͳ·¢ËÍ×é²¥°ü¸øÎÒPCÐéÄâ»úµÄlinux£¬ÐéÄâ»úµÄlinux¿ÉÒÔ½ÓÊÕµ½£¬µ«ÊÇͬÑùµÄ³ÌÐò£¬ÓÃÐéÄâ»úµÄlinux·¢ËÍ£¬Ç¶ÈëʽlinuxÈ´½ÓÊÕ²»µ½£¬¾ßÌå±íÏÖΪ×èÈûÔÚrecvfromº¯Êý¡£
´óÖÂÒѾ­¿ÉÒÔÅųýµÄÎÊÌ⣺
1 ......

linuxÏÂÎļþÎÊÌâ - C/C++ / CÓïÑÔ

C/C++ code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#define _FILE_OFFSET_BITS 64
#define __USE_FILE_OF ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ