次ã®ã·ããªãªãæ³åããŠãã ãããããç¹å®ã®ãããã¯ãŒã¯ã®éçãéããæ¶ããæ°ååŸã«åã³è¡šç€ºãããŸãã ãããŒãžã§ã³ã衚瀺ãã¯ãæ°çŸã®OSã³ã³ããŒãã³ãã®æ°åã®çç±ã«ããå¯èœæ§ããããäœããã®ã¯ã©ãã·ã¥ã«ãã£ãŠåŒãèµ·ããããåèµ·åã瀺ããŸãã ãã¡ã€ã«crashinfoããããŸããã syslogãµãŒããŒã¯ãã¯ã©ãã·ã¥ã®çŽåã«ããã€ã¹ããã¡ãã»ãŒãžãåä¿¡ããŸããã§ããã ããã€ã¹ã¯ãµãŒãã¹å¥çŽã§ã«ããŒãããŠããŸãããTACã¯èªå® ã§äºæ ãåçŸããããšã¯ã§ããŸããããŸããã¯ã©ã€ã¢ã³ãããéä¿¡ãããæ å ±ã¯ãäºæ ã®åå ãæ£ç¢ºã«å€æããã«ã¯å°ãªãããŸãã ãœãããŠã§ã¢ãŸãã¯ããŒããŠã§ã¢ã®é害ãåå ã§èœäžããã®ãã©ããããæããã§ã¯ãããŸããã ããã€ã¹ã亀æããããšã¯ã§ããŸãããçç±ããœãããŠã§ã¢ã®å Žåãããã¯åœ¹ã«ç«ã¡ãŸããã å¥ã®OSããŒãžã§ã³ã«åãæ¿ããŸããïŒ ã©ã£ã¡ïŒ çµå±ã®ãšãããã©ã®ãã°ãã¯ã©ãã·ã¥ã®åå ã§ãããæ°ããããŒãžã§ã³ã§éããããŠãããã©ããã¯äžæã§ãããæ°ãããã°ãããå¯èœæ§ããããŸãã ã³ãã¥ãã±ãŒã·ã§ã³ã®éçšã§ãTACã®åŸæ¥å¡ã¯ãã¯ã©ãã·ã¥ã®çŽåã«ããããã¯ãŒã¯ã«ãã§ã«é害ãçºçããŠããå Žåãããã€ã¹ãã³ã³ãœãŒã«ã«ã¡ãã»ãŒãžãéä¿¡ããã©ã®ãµãã·ã¹ãã ãèœäžããäœã«é¢é£ããŠããã®ããäŒããŸããã ãã¡ããã ã¿ãŒããã«ãµãŒããŒã¯æ¢ã«ãããŸãããããã€ã¹ãžã®ç·æ¥ã¢ã¯ã»ã¹ã«ã®ã¿äœ¿çšããã远跡察象ã®éçã®ã³ã³ãœãŒã«ããŒãããå°çãããã¹ãŠã®ã¡ãã»ãŒãžãç¡èŠããŸãã ãããã®ã¡ãã»ãŒãžãäœããã®æ¹æ³ã§åéããå¿ èŠããããŸãã ãããç§ãã¡ãããããšã§ãã
å°ãçºèšã 以äžã«æäŸããããã®ã¯ãã¹ãŠãåŸæ¥ã®ç£èŠããŒã«ïŒäž»ã«ããã€ã¹ã®æšæºSNMP / syslogïŒãžã®è¿œå ãšããŠã®ã¿èæ ®ãããäºæ ã®åå ã®èª¿æ»ãç°¡çŽ åããããšãç®çãšããŠããŸãïŒåæã«ãåèµ·åãã°ãèªåçã«åéããŸãïŒã ãããŠããã®æ¹æ³ã§åéãããããŒã¿ã圹ã«ç«ããªãããšãé¡ã£ãŠããŸãã
èšäºãšã㊠ã Ciscoã«ãŒã¿ãŒã«åºã¥ããã¿ãŒããã«ãµãŒã㌠ã ãåºç€ãšããŠåãäžããŸã ã æ£ããæåã®æé ãããã«ç€ºãããŠããŸãã ãã ããã¡ãã»ãŒãžãã®ã³ã°èªäœã®åé¡ã«ã¯å¯ŸåŠããŠããŸããã telnetã¯æ¥ç¶ã«äœ¿çšãããŸãããããã¯ãã¡ããåãå ¥ããããŸããã ãã®èšäºã¯ãã®ç¶ããšèããããšãã§ããŸãã
SSHã¯ã©ã€ã¢ã³ããšããŒãã¿ã€ã ãã¬ãŒã¯ã* NIXäžã®å¥åã®ãµãŒããŒã«ãªããŸãã ç§ã®å ŽåãCentos 6è¡ç®ã
ãŸããã¿ãŒããã«ãµãŒããŒãžã®åç¬ã¢ã¯ã»ã¹ãæ€èšããŸãã éåžžã®Linux sshã¯ã©ã€ã¢ã³ãã¯ãã¹ã¯ãªããããåŒã³åºããããšãã«ãã¹ã¯ãŒããèªåçã«å ¥åããæ¹æ³ãç¥ããŸããïŒå¿ èŠãªå Žåãããã¯éåžžã«ãæ¹æ³ã§å®è¡ã§ããŸãïŒããããã¯å¿ èŠãããŸããã
1ïŒã¿ãŒããã«ãµãŒããŒãå®è¡ããŠããã«ãŒã¿ãŒãIOSã®15çªç®ã®ããŒãžã§ã³ã«æŽæ°ããŸãïŒãSSHv2æ¡åŒµæ©èœfor RSAããŒãã®ãµããŒã-äžèŠãk9 15åç·ã®ãã¹ãŠã®ãœãããŠã§ã¢ã¯ã«ãŒã¿ãŒIOSãã©ãããã©ãŒã ã®ãã®æ©èœããµããŒãããŸãïŒ
2ïŒãµãŒããŒã§SSHã»ãã·ã§ã³çšã®RSAããŒãã¢ãäœæããŸãã ããã¹ãã¬ãŒãºãå ¥åããŠãã ããããšããèŠæ±ã¯ç¡èŠãããEnterããŒãæŒããŸãã
[root@centos ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 1d:60:fe:72:b5:8c:1e:b5:5e:d1:3c:9c:67:15:9c:59 root@centos The key's randomart image is: +--[ RSA 2048]----+ | o ..E| | o . .*o| | . . o .+=| | o * o oo| | S * + . | | + o . | | . . | | | | | +-----------------+
3ïŒå ¬ééµRSAãååŸããŸãã
[root@centos ~]# cat /root/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0w2L4YVD/V303ccFatgtJxcS+JMYlPkmyufW36fUCogGjzWLbtMZGYoAW8vgy bVgN6r7lcbrbpF6oW9beGfHIWTBfUT898sUQL9jOOki0qvUWzkbej/po6agAK3KK/Z7QCtnAkbDQDb1SzHEmTx9rmboY EZosHOchQy+dvHEoBKCOMBrGKpYgdHfImjctKS3Q02TrkTO0+BoIFc2V32R9AukWFp7+ppGy2ZdoxLv5eEjlhcHukbM yKg9Kjc72/dPNbNkvLXcWKVnkebTmTJIQQyGU2qsAy2asgPC6D02gy6tZAdqp+0umEF2gLXlq2G1p3kn+AojH8bWvYBwyL2s6Q== root@centos
4ïŒã«ãŒã¿ãŒãSSHv2ãµãŒããŒã«ãã£ãŠæ§æãããŠããªãå Žåããã®åä»ãªèª€è§£ãæšæºçãªæ¹æ³ã§ä¿®æ£ããŸãã
5ïŒãµãŒããŒã®å ¬ééµãã«ãŒã¿ãŒã«ã³ããŒããŸãã éèŠïŒè¡ã¯é·ãã®ã§ã2ã3åã®åŒã³åºãã§éšåçã«ã³ããŒããããŒã¹éã§EnterãæŒããŠãæ¯åãã¹ãŠã®æåãåãŸãããšã確èªããå¿ èŠããããŸãã
termserver(config)#ip ssh pubkey-chain ! , termserver(conf-ssh-pubkey)#username consoleuser termserver(conf-ssh-pubkey-user)#key-string termserver(conf-ssh-pubkey-data)# ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQE⊠termserver(conf-ssh-pubkey-data)#...BwyL2s6Q== root@centos ! id_rsa.pub termserver(conf-ssh-pubkey-data)#exit ! , termserver(conf-ssh-pubkey-user)#exit termserver(conf-ssh-pubkey)#
RSAèªèšŒãæ©èœãããã©ããã確èªããŸãã
[root@centos ~]# ssh consoleuser@10.10.0.10 termserver>
次ã«ãã³ã³ãœãŒã«ããŒãã«æ¥ç¶ã§ãããã©ããã確èªããå¿ èŠããããŸãã ãŸãããã¹ãŠã®line'ahã§sshãæå¹ã«ããŸãïŒtelnetãéããŠããå Žåã¯åæã«ç¡å¹ã«ããŸãïŒã ã¿ãŒããã«ãµãŒããŒã§ã¯ãçªå·ã¯1/0ãã1/15ã«ãªããŸãã
termserver(config)# line 1/0 1/15 termserver(config-line)# transport input ssh
ããã§æ¥ç¶èªäœã ãshow lineãã®2åç®ãããè¡çªå·ïŒ75ã«èšå®ïŒãèŠã€ããŠå®è¡ããŸãã
[root@centos ~]# ssh consoleuser:75@10.10.0.10
ããäžåºŠEnterããŒãæŒããŠã以äžã確èªããŸãã
Username:
ãããŠãããã¯ãã³ã³ãœãŒã«ãã¿ãŒããã«ãµãŒããŒã®75è¡ç®ã«æ¥ç¶ãããŠããããã€ã¹ãæ¢ã«éä¿¡ããŠããŸãã æ€èšŒã®ããã«èªèšŒããïŒ
Username: admin Password: router1> exit router1 con0 is now available Press RETURN to get started.
çŽ æŽããããã³ã³ãœãŒã«ãžã®sshã¢ã¯ã»ã¹ããããŸãã ç£èŠå¯Ÿè±¡æ©åšã®ã³ã³ãœãŒã«ãžã®ãã°ã®éä¿¡ãèšå®ããããã«æ®ããŸãã ãã¥ã¢ã³ã¹ããããŸãã å€ãã®äººãããã®ã³ã°ã³ã³ãœãŒã«ãªãããè¡ããäžè¬çã«ã¯çã«ããªã£ãŠããŸãã ã³ã³ãœãŒã«ãã¡ãã»ãŒãžã§éè² è·ã«ãªãã®ãèš±å¯ããããšã¯ã§ããŸããã ããããç§ãã¡ã®ç®çã«ãšã£ãŠãããã¯é©åã§ã¯ãããŸããã ãããã£ãŠãäž¡åŽã®æåã®ãã®ïŒ
router1(config)# line console 0 router1(config-line)#speed 115200
termserver(config)# line 1/0 1/15 termserver(config-line)#speed 115200
ãã®å Žåã115200ãèšå®ãããŸããããã¯ãçµéšããããªãä¿¡é Œã§ããå€ã§ãïŒãã€ãã£ãã®9600ãšæ¯èŒããŠéåžžã«é«éã§ãïŒããããã¹ãã®å€§ããªãããã¯ãåãåã£ããšãã«è©æ¬ºåž«ãæ¥ãªãããšã確èªããå¿ èŠããããŸãã
次ã«ãlogging console Xã³ãã³ãã䜿çšããŠã³ã³ãœãŒã«ã«éä¿¡ããèšé²ã¬ãã«ã決å®ããå¿ èŠããããŸããXã¯1ã7ã®æ°åã§ããã6ããšã7ãã¯ã«ããŽãªã«å«ããã¹ãã§ã¯ãããŸããã ïŒç¹ã«ã7ã-ããã¯ãããã°ã¬ãã«ã§ããããããã¡ã«ã®ã¿æžã蟌ãå¿ èŠããããŸããïŒã5ãããã³ã4ã-éåžžã¯æ©èœããŸããããã®ã¬ãã«ã®ã¡ãã»ãŒãžããããã¡ã«å ¥ãæ°ãåæããå¿ èŠããããŸãã ããšãã°ããïŒ ASA-4-106023ãã¯ãASAãã¡ã€ã¢ãŠã©ãŒã«ã§ãã±ããããããã¯ããããšã«é¢ããã¡ãã»ãŒãžã§ãããéåžžã«å€ããªãå¯èœæ§ããããã³ã³ãœãŒã«ã«éä¿¡ããå¿ èŠã¯ãããŸããã ããã€ã¹èªäœã®åã ã®syslogã¡ãã»ãŒãžã®ãã¡ã·ãªãã£ã亀æããããšã¯çã«ããªã£ãŠãããããããŸããã 1ãã3ãŸã§ã®ãã¡ã·ãªãã£ããã¡ãã»ãŒãžãåéããããšã¯ç¢ºãã«èå³ããããã€ã³ã¿ãŒãã§ã€ã¹ã®ã¢ãã/ããŠã³ã€ãã³ãã¯å¹²æžããŸããïŒæ°çŸã®ããŒããæã€ã¹ã€ããã«ã€ããŠè©±ããŠããå Žåãããã¯åé¡ã§ãïŒã äžè¬çã«ãæèã®å ŽããããŸãã
è€æ°ã®ã¿ãŒããã«ãµãŒããŒããããããããã«æ°åã®åç·ããããŸãã ãŸããHWIC-16Aã®ãªãã«ãŒã¿ãŒã¯ã1ããŒãïŒAUXïŒã®ã¿ãŒããã«ãµãŒããŒã§ãã ããã§ãsshãä»ããŠã³ã³ãœãŒã«ãžã®ã¢ã¯ã»ã¹ãèšå®ããã³ã³ãœãŒã«ã«ãã°ãéä¿¡ããŸããããã€ãã³ãã®èšé²ã¯ãããŸããã ã¹ã¯ãªããã®äœæãéå§ããŸããããã®ãããæ°ããã³ã³ãœãŒã«ã®è¿œå ã¯ç°¡åã§æ¥œãããã®ã§ããã
ãŸãããã¹ããšåç·ã®ãªã¹ãã解æããŠæ¥ç¶ãéå§ããã¹ã¯ãªãããäœæããŸãããã startcon.shãšããååã«ããŸã
#!/bin/bash # . , syslog, . LOGFOLDER="/root/logs/" # LIST="/root/collectconsole/consolelist.txt" # ssh LOCATION="/root/collectconsole" # «75,10.10.0.1,termserver», â , â , â â . , , for i in $(cat $LIST | egrep -o "[0-9]{1,3},([0-9]{1,3}\.){3}[0-9]{1,3},[a-zA-Z0-9\-]+") ; do # connectcon.sh â , . ARGS="$(echo $i | cut -f 1 -d ",") $(echo $i | cut -f 2 -d ",")" # if ! ps ax | grep -v grep | grep "connectcon.sh $ARGS" > /dev/null ; then $LOCATION/connectcon.sh $ARGS >> $LOGFOLDER$(echo $i | cut -f 3 -d ",").log & fi Done
è¡çªå·ïŒã¿ãŒããã«ãµãŒããŒã®ãshow lineãã®2åç®ïŒãã¿ãŒããã«ãµãŒããŒã®ã¢ãã¬ã¹ãããã³ãããã®è¡ã«æ¥ç¶ãããŠããããã€ã¹ã®ååã䜿çšããŠconsolelist.txtãäœæããŸãã
nano consolelist.txt 66,10.10.0.10,router1 70,10.10.0.10,router2 71,10.10.0.10,router3 74,10.10.0.10,router4 67,10.10.0.10,router5 72,10.10.0.10,router6 75,10.10.0.10,router7 76,10.10.0.10,router8 79,10.10.0.10,router9
connectcon.shã¹ã¯ãªãããäœæããŸãã 圌ã«ãšã£ãŠãã¹ãŠãåçŽãªããã§ã¯ãããŸããã æåã¯ãsshãåŒã³åºãéåžžã®bashã¹ã¯ãªããã«ããããšããŸããã ããããå€æããããã«ãsshã¯ããã¯ã°ã©ãŠã³ãã§èµ·åãããèãããã¹ãŠããã¡ã€ã«ã«ãªãã€ã¬ã¯ãããããšãæåŠããŸãã 解決çãèŠã€ãããŸããã ãŸããexpectã€ã³ã¿ãŒããªã¿ãŒãã€ã³ã¹ããŒã«ããå¿ èŠããããŸããcentosã®å Žåã¯ãyum install expectãã§ãã 次ã«ãã¹ã¯ãªãããäœæããŸãã
#!/usr/bin/expect âf # , â . . set timeout -1 # , . set line [lrange $argv 0 0] set ipaddr [lrange $argv 1 1] # ssh. , . â . .. . «expect timeout» , , ssh â , 2 . while { true } { spawn ssh consoleuser:$line@$ipaddr expect timeout sleep 120 }
ãåç¥ã®ããã«ãè€æ°ã®æ¥ç¶ãåæã«åãã³ã³ãœãŒã«ã䜿çšããããšã¯ã§ããŸããã ããããèªåã§ã³ã³ãœãŒã«ããŒãã«ç§»åããŠã¢ã¯ã·ã§ã³ãå®è¡ããå¿ èŠãããå Žåã¯ã©ãã§ããããã 解決çã¯ç°¡åã§ããéåžžã®ã¿ãŒããã«ãµãŒããŒã»ãã·ã§ã³ã«è¡ããå¿ èŠãªè¡ããã¯ãªã«ã€ãããå¿ èŠããããŸãã
termserver#clear line 75 [confirm] [OK]
ããã«ãããã¿ãŒããã«ãµãŒããŒãããã°ãµãŒããŒãããã¯ã¢ãŠãããŸããã ã¹ã¯ãªããã®ãsleep 120ãã³ãã³ãã¯ãèªåã§ãã°ã€ã³ããã®ã«2åããããŸãã ãããŠããã°ã³ã¬ã¯ã¿ãŒã¯ãåºçºãããŸã§2åããšã«ãã¢ãããã¯ãç¶ããŸãã
ããã ãã§ã startcon.shãéå§ããŸãã
[root@centos collectconsole]# ./startcon.sh [root@centos collectconsole]#
ããã»ã¹ãèŠãŠã¿ãŸãããã
[root@centos collectconsole]# ps -ef | grep -E "connectcon|ssh" ⊠root 23151 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 66 10.10.0.10 root 23152 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 70 10.10.0.10 root 23153 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 71 10.10.0.10 root 23154 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 74 10.10.0.10 root 23155 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 67 10.10.0.10 root 23156 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 72 10.10.0.10 root 23157 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 75 10.10.0.10 root 23158 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 76 10.10.0.10 root 23159 1 0 14:54 pts/4 00:00:00 /usr/bin/expect -f /root/collectconsole/connectcon.sh 79 10.10.0.10 root 23239 23155 0 14:54 pts/2 00:00:00 ssh consoleuser:67@10.10.0.10 root 23240 23156 0 14:54 pts/3 00:00:00 ssh consoleuser:72@10.10.0.10 root 23242 23158 0 14:54 pts/6 00:00:00 ssh consoleuser:76@10.10.0.10 root 23243 23159 0 14:54 pts/7 00:00:00 ssh consoleuser:79@10.10.0.10 root 23244 23153 0 14:54 pts/8 00:00:00 ssh consoleuser:71@10.10.0.10 root 23247 23152 0 14:54 pts/9 00:00:00 ssh consoleuser:70@10.10.0.10 root 23248 23154 0 14:54 pts/1 00:00:00 ssh consoleuser:74@10.10.0.10 root 23255 23151 0 14:54 pts/10 00:00:00 ssh consoleuser:66@10.10.0.10 root 23341 23157 0 15:09 pts/5 00:00:00 ssh consoleuser:75@10.10.0.10 âŠ
ãã°ã¹ãã¬ãŒãžã確èªããŸãïŒrouter4ã¯æ¢ã«äœããæžããŠããŸãããæ®ãã¯ãŸã æ²é»ããŠããŸãïŒã
[root@centos collectconsole]# ls -l /root/logs/ -rw-r--r-- 1 root root 58 Sep 22 14:54 router1.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router2.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router3.log -rw-r--r-- 1 root root 115 Sep 22 14:57 router4.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router5.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router6.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router7.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router8.log -rw-r--r-- 1 root root 58 Sep 22 14:54 router9.log
ã¿ãŒããã«ãµãŒããŒã確èªããŸãã
termserver#sh line Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 0 0 CTY - - - - - 0 0 0/0 - 1 1 AUX 115200/115200- inout - - - 0 0 0/0 - * 1/0 66 TTY 115200/115200- - - - - 0 0 0/0 - * 1/1 67 TTY 115200/115200- - - - - 0 0 0/0 - 1/2 68 TTY 115200/115200- - - - - 0 0 0/0 - 1/3 69 TTY 115200/115200- - - - - 0 0 0/0 - * 1/4 70 TTY 115200/115200- - - - - 0 0 0/0 - * 1/5 71 TTY 115200/115200- - - - - 0 0 0/0 - * 1/6 72 TTY 115200/115200- - - - - 0 1 0/0 - 1/7 73 TTY 115200/115200- - - - - 0 0 0/0 - * 1/8 74 TTY 115200/115200- - - - - 0 0 0/0 - * 1/9 75 TTY 115200/115200- - 1 - - 2 0 2/4 - * 1/10 76 TTY 115200/115200- - - - - 0 0 0/0 - 1/11 77 TTY 115200/115200- - - - - 0 0 0/0 - 1/12 78 TTY 115200/115200- - - - - 0 0 0/0 - * 1/13 79 TTY 115200/115200- - - - - 0 0 0/0 - 1/14 80 TTY 115200/115200- - - - - 0 0 0/0 - 1/15 81 TTY 115200/115200- - - - - 0 0 0/0 -
æ§æãã¡ã€ã«ã«ç€ºãããŠããè¡ã¯ããžãŒã§ãïŒã¢ã¹ã¿ãªã¹ã¯ã§ããŒã¯ãããŠããŸãïŒã ãã°ããããã¹ã¯ãªããã¯åäœããŸãã
次ã«ãstartcon.shã¹ã¯ãªãããéå§ããŸãã init.dããã³/ãŸãã¯cron.dailyã«é 眮ã§ããŸãïŒãªã¹ãã«è¿œå ãããããŒãã¯ãç¿æ¥ãŸãã¯ã·ã¹ãã ã®åèµ·ååŸã«æžã蟌ãŸããŸãïŒã ãããŠ-åé¡ã¯è§£æ±ºãããŸããã
ããã€ãã®éèŠãªç¹ã«æ³šæããŠãã ããã
1ïŒSecure ACSãµãŒããŒã䜿çšããŠããããã®ç®çã§äœ¿çšãããã¢ã«ãŠã³ãã®æš©å©ãå¶éããããšã¯çã«ããªã£ãŠããŸãã 圌ã¯ãã°ã€ã³ã§ããã¯ãã§ããããããããããŸããã ããã«ã圌ã¯ããã€ã¹ã®éããããªã¹ãã«ãã°ã€ã³ããå¿ èŠããããŸãã
2ïŒã¹ã¯ãªãããå®è¡ããã«ã¯ãLinuxãã·ã³ã«å¥ã®ã¢ã«ãŠã³ããäœæããããšããå§ãããŸãã ãããã£ãŠããã®äžã«RSAããŒãçæããããããã¿ãŒããã«ãµãŒããŒã«ã¹ãªããããŸãã ã¯ãããã®èšäºã§ã¯åžžã«ã«ãŒãã®äžã«åº§ã£ãŠããŸãããã誰ãããããè¯ããªãããšãç¥ã£ãŠããŸãã ãŸãããã°ãªããžããªã®å Žæã¯å€æŽãã䟡å€ããããŸãã
3ïŒLinuxã§Logrotateã䜿çšãããšããã°ãã¡ã€ã«ã倩æãµã€ãºã«å°éã§ããªããªããŸãã ãããã®ãã¡ã€ã«ã«å¯ŸããŠæå¹ã«ããããšããå§ãããŸãã ã¢ãŒã«ã€ãã¢ã«ãŽãªãºã ã¯ããã¡ã€ã«ã®å å¡«é床ã«äŸåããŸãã
4ïŒãã°ãã¡ã€ã«ãžã®ã¢ã¯ã»ã¹ãå³ããå¶éããå¿ èŠããããŸãã
5ïŒç£èŠå¯Ÿè±¡ã®ããŒããŠã§ã¢ãèœäžããŠããæ°ç§ä»¥äžã³ã¬ã¯ã¿ãšã¿ãŒããã«ãµãŒããŒéã®æ¥ç¶ãåæãããªãããã«ãã¿ãŒããã«ãµãŒããŒã«å¯ŸããŠãã°åéãµãŒããŒãé 眮ããããšããå§ãããŸãã ãŸããäžè¬çã«ã¯ã1ã€ã®ããã€ã¹ã®é害ãæ°ç§éããç¶ããªããããã¯ãŒã¯é害ãåŒãèµ·ããããã«ãããã¯ãŒã¯ãæ§ç¯ããŸãã
6ïŒãããã®ã¹ã¯ãªããã䜿çšããŠãã¿ãŒããã«ãµãŒããŒã«æ¥ç¶ãããããã€ã¹ã®ã€ãã³ããèšé²ããããšã劚ãããã®ã¯ãããŸãã-åãªãããã€ã¹ã ãã§ã¯ãããŸããã
7ïŒã¿ãŒããã«ãµãŒããŒã¯ãAUXããŒããæã€ä»»æã®tsiskinã«ãŒã¿ãŒã§ãã ã¿ãŒã²ããéçã®ã³ã³ãœãŒã«ããŒãã¯ã ããŒã«ãªãŒããŒã±ãŒãã«ã䜿çšããŠãã®ããŒãã«æ¥ç¶ãããŸãã åãããã«ãèšå®ã«1è¡è¿œå ããããšã§èšé²ãããŸãã ããã¯ãã«ãŒã¿ãŒãšã¹ã€ããããããã1ã€ãã€ããå°èŠæš¡ãªãã£ã¹ã«äŸ¿å©ã§ããã¹ã€ãããç£èŠã§ããŸãã
8ïŒã·ã§ã«ã¹ã¯ãªãããèšè¿°ããçµéšã¯ã»ãšãã©ãªããææ¡ãããæ§æã«ã¯ç¢ºãã«å€ãã®æ¹åããããŸãã ã©ããªè¿œå ãåãã§ããŸãã