大äºãªãã¡ã¤ã«ãåé¤ãããã¨ãããã£ã¹ã¯ãå»æ£ã»è²æ¸¡ããæãªã©ã¯ããã¼ã¿ãå®å ¨ã«æ¶å»ããããã®ã§ãã
æ£ç´ãããã§ã¯ãªãã®ã§ããã¼ã¿å¾©æ§ã®è©³ç´°ã¯è©³ããããã¾ããããrmã³ãã³ãã§ãã¼ã¿ãæ¶å»ãã¦ãddã³ãã³ãçã§ããã¤ã¹ãå¸ãåºãã¦ãç´°ãã解æãã¦ããã°(ãã¾ãæçåããã¦ããªããã°)ãã¼ã¿ã¯å¾©æ§ã§ããããããã¾ããã
ãããªã¨ãã¯ã"shred"ã³ãã³ãã使ããããã§ãã
"shred"ã使ãã¨ããã¼ã¿ã®å 容ãç¹å¥ãªãã¿ã¼ã³ã§ç¹°ãè¿ãä¸æ¸ããè¡ããè«ççã«ç ´å£ãããã¨ãå¯è½ã§ãã
"shred"ã¯GNUã®coreutilsã«å«ã¾ãã¦ããã³ãã³ãã§ãããããLinuxã§ããã°ä½ãã¤ã³ã¹ãã¼ã«ããã¨ã使ããã³ãã³ããã¨æãã¾ãã
å°ã"shred"ãå©ç¨ãã¦ã®ãã£ã¹ã¯å»æ£ãªã©ã¯ãèªå·±è²¬ä»»ã§ãé¡ããã¾ãã
ãã¦ã"shred"ã®ä½¿ãæ¹ã¯ããã
$ shred -u hoge.txt
ãªæãã§ã-uãªãã·ã§ã³ã®å¾ã«ãã¡ã¤ã«åãæå®ãã¾ãã
ã¡ãªã¿ã«ã-uãªãã·ã§ã³ãã¤ããªãå ´åã¯ãæå®ãããã¡ã¤ã«ã¯æ®ãã¾ãããç¹å¥ãªãã¿ã¼ã³ã§ä¸æ¸ãããç ´å£ãããç¶æ ã«ãªãã¾ãã
ãã£ã¹ã¯ããã¼ãã£ã·ã§ã³ãã¾ããã¨æ¶å»ãããå ´åã¯ããã
# shred -n 3 -v -z /dev/hdb
ãªæãã§ãããã¤ã¹åãæå®ãã¦å®è¡ãã¾ãã
ä¸ã®ä¾ã§ã¯ã-nãªãã·ã§ã³ã§3ãæå®ãããã¨ã§ã3åç¹°ãè¿ãã¦ç¹å¥ãã¿ã¼ã³ã®æ¸ãè¾¼ã¿ãå®æ½ã-vãªãã·ã§ã³ã§é²æç¶æ³ã表示ã-zãªãã·ã§ã³ã§ãå ¨ä½ã«0ãæ¸ãè¾¼ã¿ã¼ãã¯ãªã¢ãè¡ãã¾ãã
ã¡ãªã¿ã«ã-nãªãã·ã§ã³ãçç¥ããã¨ããã©ã«ãã§ãã25åã®æ¸ãè¾¼ã¿ãå®æ½ããã¾ããæéã«ä½è£ã®ããå ´åã¯ãå¤ãã®åæ°ãå®æ½ãã¹ãã§ãã
PCèªä½ãå®å
¨ã«å»æ£ãã(ãã·ã³ã«1å°ãããã¼ããã£ã¹ã¯ãä»ãã¦ããªãå ´å)ã¨ããªã©ã¯ãKNOPPIXãªã©CDã®ã¿ã§åä½(Live-CD)ããLinuxã使ã£ã¦ãCDããOSãã¼ããã¦"shred"ã³ãã³ããå©ç¨ããã¨è¯ããã¨æãã¾ãã
ä½è«
ä¸æ¹ãLinuxä¸ã§èª¤ã£ã¦æ¶å»ãã¦ãã¾ã£ãå ´åããã¼ã«ã使ã£ã復æ§æ¹æ³ã«ã¤ãã¦ã®ãªã³ã¯ãç´¹ä»ãã¦ããã¾ãã
å ´åã«ãã£ã¦ã¯ãlsofã³ãã³ããmcã³ãã³ãã使ããããããã¾ããã
shredã³ãã³ãã®ãªãã·ã§ã³ä¸è¦§
-f, --force change permissions to allow writing if necessary -n, --iterations=N Overwrite N times instead of the default (25) --random-source=FILE get random bytes from FILE (default /dev/urandom) -s, --size=N shred this many bytes (suffixes like K, M, G accepted) -u, --remove truncate and remove file after overwriting -v, --verbose show progress -x, --exact do not round file sizes up to the next full block; this is the default for non-regular files -z, --zero add a final overwrite with zeros to hide shredding --help display this help and exit --version output version information and exit
Linuxã»ãã¥ãªãã£ã¯ãã¯ããã¯âã·ã¹ãã é²å¾¡ã®ããã®ã¬ã·ãé
- ä½è : ããã¨ã«ã»J.ãã¬ãã,ããã¼ãã»G.ãã¤ãã¹,ãªãã£ã¼ãã»E.ã·ã«ãã¼ãã³,Daniel J. Barrett,Robert G. Byrnes,Richard E. Silverman,天æ¨å¥ä»,å°å¹¡æ,西ååè¼,ä¼è¤ç浩,é«ææç£
- åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³
- çºå£²æ¥: 2003/11
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 1人 ã¯ãªãã¯: 6å
- ãã®ååãå«ãããã° (7件) ãè¦ã