aix³£¼ûÎÊÌâÕûÀí
ÕýÎÄ ÎÒÃÇÖªµÀÔÚAIX²Ù×÷ϵͳÖУ¬gated ½ø³Ì¿ÉÒÔÖ§³ÖRIP, RIPng, EGP, BGP, OSPFµÈÐÒ飬ÉõÖÁ»¹Ö§³ÖSNMPÐÒ顣ͨ³£À´½²£¬gated½ø³Ì²»ÄܺÍrouted½ø³ÌͬʱʹÓ㬷ñÔò»áµ¼Ö²»¿ÉÔ¤¼ûµÄ´íÎó¡£
1. ÈçºÎÆô¶¯ºÍÍ£Ö¹gated
gated½ø³ÌÊÇAIXÖÐϵͳ×ÊÔ´¿ØÖÆϵͳ£¨SRC£©µÄÒ»¸ö×Óϵͳ£¬Òò´Ë£¬ÎÒÃÇ¿ÉÒÔÓÃÒÔÏÂÃüÁîÀ´Æô¶¯ºÍÍ£Ö¹gated£º startsrc -s gated -- Æô¶¯ stopsrc -s gated -- Í£Ö¹
top
2. gated½ø³ÌµÄ¹¤×÷ģʽ µ±gatedÆô¶¯Ê±£¬gated½ø³Ì»á×Ô¶¯²éÕÒ /etc/gated.conf Îļþ£¬¸ù¾Ý /etc/gated.conf µÄÅäÖÃÆô¶¯ÏàÓ¦µÄ·þÎñ¡£Òò´Ë£¬ÕýÈ·µØÅäÖà /etc/gated.conf Îļþ¶ÔÓÚgated½ø³ÌÄÜ·ñÕý³£µØÆô¶¯ºÍ¹¤×÷ÊÇÖÁ¹ØÖØÒªµÄ¡£
ÒÔϾͱ¾È˵ľÑé¶ÔÈçºÎÅäÖà /etc/gated.conf Îļþ£¬´Ó¶øÆô¶¯×î¾³£Ê¹ÓÃµÄ RIP ÐÒéºÍ OSPF ÐÒ飬½øÐнéÉÜ£º
top
1) ÅäÖà /etc/gated.conf Ö§³Ö RIP ÐÒé
# ¸Ã gated.conf Îļþ½«RIPÐÅÏ¢µÄ¸üÐÂ֪ͨϵͳµÄËùÓÐÍøÂç½Ó¿Ú¡£Í¬Ê±£¬µ±gated½ø³ÌûÓÐÆô¶¯»ò·ÓÉÐÅϢûÓиüÐÂʱ£¬±£Áô·ÓɱíÖеľ²Ì¬Â·ÓÉÐÅÏ¢¡£
# /etc/gated.conf
traceoptions "/tmp/gated.trace" all ;
redirect yes ;
rip yes { interface all ripin ripout; };
static { default gw 172.16.1.1 retain ; };
top
2£©ÅäÖà /etc/gated.conf Ö§³Ö OSPF ÐÒé
# ¸Ã gated.conf Îļþʹ gated ½ø³ÌÔÚent0¶Ë¿ÚʹÓÃOSPF ÐÒé¡£²¢´Ó9.185.40.1£¨Â·ÓÉÆ÷¶Ë¿Ú£©½ÓÊÕ¸üеķÓÉÐÅÏ¢¡£Èç¹ûÒªÕìÌý¶à¸ö·ÓÉÆ÷¶Ë¿Ú£¬¾Í°ÑÕâЩ¶Ë¿ÚµÄµØÖ··ÅÈë eligible ÏîÖС£
################# gated configuration for CLIENT ############
traceoptions "/var/tmp/gated.log" all ; routerid 1 rip no ; ripng no; hello no;
ospf yes { traceoptions state detail packets ; area 0.0.0.1 { interface ent0 nonbroadcast cost 1 { pollinterval 10 ; routers { 9.185.40.1 eligible; } ;
retransmitinterval 5; hellointerval 10; priority 50; routerdeadinterval 40; }; }; }; export proto ospfase { proto static; proto kernel; proto direct; } ;
¡¡
¡¡
ÈçºÎ¾Ü¾øijЩÓû§µÄftp·ÃÎÊ?
»·¾³ ²úÆ·: AIX ƽ̨: RS Èí¼þ°æ±¾: AIX V4 ÎÊÌâ ³öÓÚ°²È«¿¼ÂÇ£¬ÐèÒª¾Ü¾øijЩÓû§µÄftp·ÃÎÊ? ½â´ð Çë±à¼ /etc/ftpusers Ìí¼ÓÐèÒª¾Ü¾øµÄÓû§£¬Ã¿Óû§Ò»ÐÐ For example: #more /etc/ftpusers ql µ±³¢ÊÔ ftp µÇ¼ʱ£¬ÏµÍ³±¨´í£º Name (localhost:root): ql 530 User ql access denied. Login failed
ÈçºÎ²é¿´Ä³Óû§¹²Æô¶¯Á˶àÉÙ½ø³Ì£¿
»·¾³ ²úÆ·: AIX ƽ̨: RS Èí¼þ°æ±¾: AIX V4 ÎÊÌâ Óû§ÐèÒª²é¿´Ä³¸öÓû§ÊÇ·ñÆô¶¯Á˹ý¶àµÄ½ø³Ì£¬Ó°ÏìÁËϵͳÐÔÄÜ ½â´ð ÇëÓà #ps -ef|grep username|wc -l
±¸×¢£º ÕâÊÇÀûÓÃwc -lͳ¼ÆÐÐÊýµÄ¹¦ÄÜÀ´¶ÔÓû§½ø³ÌÊýµÄÒ»¸ö¹À¼Æ£¬²¢²»ÊǷdz£×¼È·µÄÖµ¡£ µ«ÍêÈ«¿ÉÓÃÓڲο¼¡£
ÈçºÎÔÚÇåÀí/tmpÎļþϵͳʱÕÒµ½¹ý´óµÄÎļþ?
»·¾³ ²úÆ·: AIX ƽ̨: RS Èí¼þ°æ±¾: AIX V4 ÎÊÌâ /tmpÎļþϵͳÒÑÂú£¬ÈçºÎÕÒµ½ÄÄЩÎļþ¹ý´ó£¬²¢Êͷſռ䡣 ½â´ð ÇëÓà For Example, ÄÄЩÎļþ´óÓÚ5M×Ö½Ú. #cd /tmp #find . -size +10000 -exec ls -l {} \; ±¸×¢£º ɾ³ýÕâЩ¹ý´óÎļþʱ£¬ÇëÈ·ÈÏÆäÎÞÓÃ
ÈçºÎÏÞÖÆijÓû§ÔÚÌض¨ pty µÄ·ÃÎÊ¡£
»·¾³ ²úÆ·: AIX ƽ̨: RS Èí¼þ°æ±¾: AIX V4 ÎÊÌâ Óû§ÏëÏÞÖÆijЩ¶Ë¿ÚµÄ·ÃÎÊ¡£ ½â´ð Óû§¿ÉÒÔ±à¼/etc/security/user. For example:
test: admin = false admgroups = system ttys = !/dev/pts/0,ALL
½á¹ûÊÇÓû§test¿ÉÒÔÔÚ³ýÁËpts/0ÒÔÍâµÄËùÓж˿ڵǼ£¬µ±testÔÚpts/0µÇ¼ʱ£¬ ϵͳ±¨´íYou are not allowed to access the system via this terminal.
IBM pSeriesºÍ RS/6000 ÄÄЩÐͺſÉÒÔ°²×°SuSE linux£¿
»·¾³ ƽ̨£ºRS |