Linux Gazette #24

    Æí ¿ª : Æ÷Ç×°ø´ë ºÐ»êó¸®È¯°æ ¿¬±¸½Ç  ±Ç ¼ø ¼±
    e-mail : cessi@postech.ac.kr
     

 

 Copyright ¨Ï1996-98 Specialized Systems Consultants. Inc.
Linux Gazette is a member of the Linux Documentation Project.

 

2¼¾Æ®Â¥¸® ÆÁ ¸î °¡Áö

 

¶Ç ÇϳªÀÇ °£´ÜÇÑ ÆÁ

    Date : Sun, 30 Nov 1997 03:48:40 -0800(PST)
    From : Gary Johnson gjohnso@season.com
    ÀÌ¹Ì ÀÌ ÆÁÀ» ¾Ë°í ÀÖ´Â »ç¶÷ÀÌ ÀÖÀ»Áöµµ ¸ð¸£°Ú´Âµ¥, ¾ÆÁ÷ ÀÌ Linux Gazette¿¡ ½Ç¸° ÀûÀÌ ¾ø´Ù¸é ½Ç¾îÁÖ¼¼¿ä.
    »ç¿ëµÇÁö ¾Ê´Â °¡»ó ÄַܼΠȭ¸éÀ» ÀüȯÇϸé È­¸é¿¡ ¾Æ¹« °Íµµ ³ªÅ¸³ªÁö ¾Ê°Ô µÇ°í, Å°º¸µå·Îµµ Á¶ÀÛÇÒ ¼ö ¾ø´Â »óÅ°¡ µË´Ï´Ù. ½ÃÀÛÇÒ ¶§ ´ÙÀ½°ú °°ÀÌ Çغ¸½Ê½Ã¿À.

    setterm -clear > /dev/tty12

    Alt Å°¿Í F12Å°¸¦ µ¿½Ã¿¡ ´©¸£°Å³ª ¿¢½º À©µµ¿ì¸¦ »ç¿ëÇÏ°í ÀÖÀ» ¶§´Â Alt Å°¿Í Ctrl Å°, F12 Å°¸¦ µ¿½Ã¿¡ ´©¸£¸é µË´Ï´Ù. ±× °¡»ó ÄܼÖ(/dev/tty12)¿¡´Â ·Î±×ÀÎ ÇÁ·Î¼¼½º°¡ µ¹¾Æ°¡°í ÀÖÁö ¾Ê±â ¶§¹®¿¡ Ưº°È÷ ÇÏ°í ÀÖ´Â ÀÏÀº ¾ø½À´Ï´Ù.

     

µµ½º ¿¡¹Ä·¹ÀÌÅÍ

    Date : Fri, 5 Dec 1997 00:55:55 -500
    From : Joey Hess Joey@kitenet.net
    ³ª´Â ÁÁ¾ÆÇÏ´Â °ÔÀÓÀ» Çϱâ À§Çؼ­ µµ½º ¿¡¹Ä·¹ÀÌÅ͸¦ °¡²û ¾²°ï ÇÕ´Ï´Ù. ±×·¯³ª C:\>ÇÁ·ÒÇÁÆ®´Â Á¤¸» ½È¾îÇÏÁÒ. ±×·¡¼­ »ý°¢Çϱ⸦ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÃÀÛÇÒ ¶§¿¡ ƯÁ¤ÇÑ ¸í·É¾î¸¦ ½ÇÇàÇϵµ·Ï ÇÏ°í ½Í¾î¼­ ¹æ¹ýÀ» »ý°¢Çس½À´Ï´Ù. Áö±Ý º¸¿©µå¸®´Â ÆÞ ½ºÅ©¸³Æ®°¡ ¹Ù·Î ±×·¯ÇÑ ¿ªÇÒÀ» ÇÏÁÒ. ¸Ç À­ ºÎºÐÀÇ ÁÖ¼®À» Àß º¸¼¼¿ä. µµ½º ÂÊ¿¡¼­ ÇØÁÖ¾î¾ß ÇÒ ÀÏÀ» ¾ê±âÇÏ°í ÀÖ½À´Ï´Ù. ±âº»ÀûÀÎ ¾ÆÀ̵ð¾î´Â Ȩ µð·ºÅ丮¿¡ dos_do.bat¶ó´Â ÆÄÀÏÀ» ¸¸µé¾î µÎ°í ±× ÆÄÀÏ¿¡ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÇÇàÇϱ⸦ ¿øÇÏ´Â ¸í·ÉµéÀ» Àû¾îÁØ ´ÙÀ½, lredirÀ» ÀÌ¿ëÇؼ­ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÇÇàÇÒ ¶§¿¡ Ȩ µð·ºÅ丮¿¡¼­ ±× ÆÄÀÏÀ» ãÀ» ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀÌÁÒ.

    #!/usr/bin/perl
    # # This runs dosemu.#
    # Any parameters specified after "-" will be passed in to dosemu to be
    # run as dos commands.
    #
    # Setup : add to autoexec.emu:
    #     lredir.com h: linux¡¬fs¡¬$(home)
    #     if exist h:¡¬dos_do.bat call h:¡¬dos_do.bat#
    # GPL Copyright 1996, 1997 Joey Hess
    # Split params into dosemu parameters and dos commands.
    while ($a=shift @ARGV) {
         if ($a=~m/-/ ne undef) {last}
         $dosemu_command_line.="$a ";}
    $dos_command_line=join(' ',@ARGV);
    $dos_command_line=~s/;/¡¬r¡¬n/g;

    open (OUT," >$ENV{HOME}/dos_do.bat" ) || exit print
    "$ENV{HOME}/dos_do.bat:
    $!";
    if ($dos_command_line) {
         print OUT "$dos_command_line¡¬r¡¬n"; # note dos CR LF
         print OUT "Exitemu¡¬r¡¬n";
         }
    close OUT;
    system "/usr/bin/dos $dosemu_command_line";
    unlink "$EVN{HOME}/dos_do.bat";

    Re: "find¸¦ »ç¿ëÇؼ­ ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â"
    Date : Wed, 03, Dec 1997 16:03:30 +0100
    From : Mike Neuhauser mike@gams.co.at
    Jon Rabone,
    jkr@camcon.co.uk ¾¾°¡ Áö³­ ¹ø 12¿ùÈ£ Linux Gazette¿¡¼­ ´ÙÀ½°ú °°ÀÌ ½è½À´Ï´Ù.

     

find¸¦ ÀÌ¿ëÇÏ¿© ¿øÇÏ´Â °Í ã¾Æ³»±â

    1997³â 10¿ùÀÚ Linux Gazette¿¡¼­ Dave Nelson¾¾´Â grepÀÌ ¿øÇÏ´Â ¹®ÀÚ¿­À» Æ÷ÇÔÇÏ´Â ÆÄÀÏÀ» ³ªÅ¸³¾ ¼ö ÀÖµµ·Ï ´ÙÀ½°ú °°ÀÌ Á¦¾ÈÇß¾úÁÒ.

    find . -type f -exec grep "string" /dev/null {} ¡¬;

    ÀÌ°ÍÀº ¸ðµç ÆÄÀÏ¿¡ ´ëÇؼ­ grepÀ» ½ÇÇàÇϴµ¥ ¿©±â ´õ ª°íµµ È¿°úÀûÀÎ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

    grep "string" 'find . -type f

    ÁÖÀÇÇÒ °ÍÀº Á¶°Ç¿¡ ¸Â´Â ÆÄÀÏÀÇ °³¼ö°¡ ¸¹À» °æ¿ì ½©ÀÇ ¸í·ÉÇà ¹öÆÛÀÇ ¹üÀ§¸¦ ¹þ¾î³ª¹Ç·Î ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù.

    ¸í·ÉÇà ¹öÆÛÀÇ ¿À¹öÇ÷ο츦 ¹æÁöÇϱâ À§Çؼ­ ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

    find . -type f | xargs grep "string"

    ÀÌ ¹æ¹ýÀº ÆÄÀÏ À̸§¿¡ °ø¹éÀÌ µé¾î°¥ °æ¿ì(touch "test file"À» ½ÇÇàÇÏ°í 'ls'·Î È®ÀÎÇØ º¸½Ê½Ã¿À) ¹®Á¦°¡ »ý±æ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ ¹®Á¦¸¦ ÇØ°áÇϱâ À§Çؼ­´Â

    find . -type f -print0 | xargs -0 grep "string"

    find´Â ½Éº¼¸¯ ¸µÅ©µÈ µð·ºÅ丮¿¡ ´ëÇؼ­´Â ±âº»ÀûÀ¸·Î °Ë»öÀ» ½Ç½ÃÇÏÁö ¾ÊÀ¸´Ï -follow ¿É¼ÇÀ» »ç¿ëÇØ¾ß ÇÒ °æ¿ìµµ ÀÖ´Ù´Â °ÍÀ» ¾Ë¾ÆµÎ¼¼¿ä.

     

Re:find¸¦ ÀÌ¿ëÇؼ­ ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â

    Data : 5 Dec 1997 17:47:50 -0000
    From : Dale K. Hawkins khawkins@mines.edu
    Á¦°¡ »ç¿ëÇÏ°í ÀÖ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.

    find . -type f -exec grep "string" /div/null {} ¡¬;

    ±×·±µ¥ Á¦ Ä£±¸°¡ ´ÙÀ½°ú °°Àº ¹æ¹ýÀ» ¾Ë·Á ÁÖ´õ±º¿ä. ¸Å¿ì ÁÁÀº ¹æ¹ýÀ̾ú½À´Ï´Ù.

    find . -type f | xargs fgrep "string" /dev/null

    ÀÌ ¹æ¹ýÀº ¸Å¹ø »õ·Î¿î grep  ÇÁ·Î¼¼½º¸¦ »ý¼ºÇÏÁö ¾Ê¾Æµµ µÈ´Ù´Â ÀåÁ¡ÀÌ ÀÖÁÒ. ±×·±µ¥ Á¤¸» ºü¸£°íµµ ±³¹¦ÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ´ÙÀ½°ú °°ÀÌ Çغ¸¼¼¿ä.

    locate $PWD | grep "$PWD" | xargs fgrep "string" /dev/null

    ÀÌ ¹æ¹ýµµ ±¦Âú±ä ÇÏÁö¸¸ grepÀÌ ¸Å¹ø ½ÇÇàµÇ°í, µð·ºÅ丮¿¡ ´ëÇؼ­±îÁö grepÀÌ ½ÇÇàµÈ´Ù´Â ´ÜÁ¡ÀÌ ÀÖÁÒ.

    locate $PWD | grep "$PWD" |xargs -ifilename sh -c ¡¬
      "if [ -f filename ]; then echo filename; fi "|¡¬
    xargs fgrep "string" /dev/null

    Á¦ ±ÛÀ» ÀÐÀ¸½Ã´Â µ¶Àںе鲲 : lesspipe.shÀÌ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é Çѹø º¸¼¼¿ä.

     

find·Î ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â ¼¼ ¹ø° À̾߱â

    Data : Thu, 11 Dec 1997 17:12:46 +100(MET)
    From : Axel Dietrich Axel.Dietrich@newroinformatik.ruhr-uni-bochum.de
    Linux Gazette 1997³â 10¿ù È£¿¡¼­ Dave Nelson¾¾´Â

    find . -type f -exec grep "string" /dev/null {} ¡¬;

    À» ±ÇÀåÇß¾ú½À´Ï´Ù.
    Jon Rabone¾¾ÀÇ "´õ ª°íµµ È¿°úÀûÀÎ" ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.

    grep "string" 'find . -type '

    ´ÙÀ½°ú °°Àº ¹æ¹ýÀº ¸í·ÉÇà ¹öÆÛÀÇ ¿À¹öÇÃ·Î¿ì °ÆÁ¤À» ÇÒ ÇÊ¿ä¾øÀÌ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

    find . -type f -exec grep -l"string" {}¡¬;

    '-l' ¿É¼ÇÀº grepÀÌ "string"À» Æ÷ÇÔÇÏ´Â ÆÄÀϸíÀ» ³ªÅ¸³»µµ·Ï ÇØÁÝ´Ï´Ù. ÀÌ·± ½ÄÀÇ °Ë»öÀ» ƯÁ¤ ÆÄÀϵ鿡 ´ëÇؼ­ ÇàÇϱâ À§Çؼ­ Àú´Â -type°ú -name ¿É¼ÇÀ» ¾²ÁÒ. ´ÙÀ½°ú °°ÀÌ ¸»ÀÌÁÒ.

    find . ¡¬(-type f -name "*¡¬.html"¡¬) -exec grep -l "string" {}¡¬;

    ÀÌ°ÍÀº htmlÀÇ È®ÀåÀÚ¸¦ °¡Áö´Â ¸ðµç ÆÄÀÏ¿¡ ´ëÇؼ­ "string"À» Æ÷ÇÔÇÏ´ÂÁö ¾Ë¾Æº¸°í Æ÷ÇÔÇÏ°í ÀÖ´Â ÆÄÀϸíÀ» Ãâ·ÂÇØÁÝ´Ï´Ù.

    /Axel

     

find¿¡ °üÇØ Á» ´õ ¾Ë¾Æº¼±î¿ä?

    Date : Tue, 16 Dec 1997 14:12:57 + 100(MET)
    From : Alexander Larsson
    alla@lysator.liu.se
    1997³â 12¿ùÀÚ Linux Gazette¿¡¼­ Jon Rabone¾¾´Â ´ÙÀ½°ú °°ÀÌ ¸»Çß¾úÁÒ.

    ÀÌ°ÍÀº °¢°¢ÀÇ ÆÄÀÏ¿¡ ´ëÇؼ­ grepÀ» ½ÇÇàÇϴµ¥ Á» ´õ ª°í °£´ÜÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

    grep "string" find . -type f

    ±×·±µ¥ ¾Ë¾ÆµÎ¾î¾ß ÇÒ °ÍÀº Á¶°Ç¿¡ ¸Â´Â ÆÄÀϵéÀÌ ¸¹Àº °æ¿ì ¸í·ÉÇà ¹öÆÛ°¡ ¿À¹öÇ÷οìµÉ ¼öµµ ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù.

    À̰ͺ¸´Ù Á¶±Ý ´õ ÁÁÀº ¹æ¹ýÀÌ ÀÖÁÒ.

    find . -type f | xargs grep "string"

    ÀÌ ¹æ¹ýÀº ¸í·ÉÇà ¹öÆÛ°¡ °¡µæ Âû ¶§¸¶´Ù »õ·Î¿î grep ÇÁ·Î¼¼½º¸¦ ½ÇÇàÇØÁÝ´Ï´Ù.

     

find¸¦ ÀÌ¿ëÇÏ´Â ¶Ç ÇϳªÀÇ ¹æ¹ý

    Date : Sat, 27 Dec 1997 12:06:47 -0500
    From : rchandra@letter.com
    Áö±Ý ³íÀǵǰí ÀÖ´Â "¾î¶»°Ô ¼­ºêµð·ºÅ丮¿¡ ÀÖ´Â ÆÄÀϵ鿡 ´ëÇؼ­ grepÀ» ½ÇÇàÇØÁÙ ¼ö Àִ°¡?"ÇÏ´Â ¹®Á¦¿¡ °üÇÑ ¿©·¯ °¡Áö ¹æ¹ýµéÀº ¸Å¿ì À¯¿ëÇϱä ÇÏÁö¸¸ °Ë»öÀ» ½Ç½ÃÇÏ´Â µð·ºÅ丮¿¡ ¹ÙÀ̳ʸ® ÆÄÀÏÀÌ ÀÖÀ» °æ¿ì¿¡´Â Å͹̳ÎÀ» Á¦¾îÇÏÁö ¸øÇÏ´Â ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ½À´Ï´Ù. ¿Ö³ÄÇÏ¸é ¹ÙÀ̳ʸ® ÆÄÀÏÀÇ ¸î¸î Á¦¾î ¹®ÀÚµé(Control Characters)ÀÌ Å͹̳ÎÀ» ±×·¡ÇÈ ¸ðµå·Î ¹Ù²ã³õÀ» ¼ö Àֱ⠶§¹®ÀÔ´Ï´Ù. ¹°·Ð ÀÌ·¸°Ô µÇ¾úÀ» °æ¿ì Å͹̳ÎÀ» ´Ù½Ã ¹Ù·ÎÀâ´Â ¹æ¹ýÀÌ ÀÖ±ä ÇÏÁö¸¸ ¾Æ¹«·¡µµ °¡Àå ÁÁÀº ¹æ¹ýÀº ±×·¯ÇÑ ÀÏÀÌ ¾øµµ·Ï óÀ½ºÎÅÍ ¹æÁöÇÏ´Â °ÍÀÌ °¡Àå ÁÁ°ÚÁÒ.
    ÀÌÁ¦ È­¸é¿¡ ÂïÇô³ª¿Ã ¼ö ¾ø´Â ¹®ÀÚµéÀ» ¸ðµÎ ¾ø¾Öº¾½Ã´Ù. ¾î·µç ÀÐÀ» ¼ö´Â ¾øÁö¸¸ ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ³»·Áº¸¼¼¿ä.

    sed -e 's/[^-~][^-~]*//g'

    ÀÌ ¸í·ÉÀº È­¸é¿¡ Ãâ·ÂµÉ ¼ö ¾ø´Â (Á¦¾î) ¹®ÀÚµéÀ» ±×³É ½ºÆäÀ̽ºµé·Î ¹Ù²ã ¹ö¸³´Ï´Ù. ÀÌ ¸í·ÉÀº ÆÄÀÌÇÁ¸¦ ÀÌ¿ëÇÏ¿© ½±°Ô ´Ù¸¥ ¸í·É¾îµé°ú °áÇÕÇؼ­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿©±â °£´ÜÇÑ ½© ½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. Àú´Â ÀÌ°ÍÀº grepfind¶ó°í À̸§ºÙ¿©¼­ »ç¿ëÇÏ°í ÀÖÁÒ.

    #!/bin/sh
    #save this in a file called grepfind and do a "chmod 755 grepfind"
    #
    if test $@ = 0 -o "$1" = "-h" -o "$1" = "-help" ; then
    echo 'grepfind  ¦¡ recursively descends directories and egrep all files '
    echo
    echo 'Usage: grepfind [-help][-h](start_directory] egrep_search_pattern'
    echo
    echo 'The surrent directory is used as start_directory if parameter'
    echo 'start_directory is omitted. The search is case insensitive.'
    echo 'Multiple occurrences of control characters are replaced by a single'
    echo 'space. This makes it possible to grep around in files that contain'
    echo 'binary data and strings without setting the terminal accidently'
    echo 'to graphics mode.'
    echo
    echo 'Example : grepfind/home "hello world"
    else
    if ["$2" = "" ];then
    find . -type f -exec egrep -i "$1" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g'
    else
    if [-d "$1" ] ;then
      find $1 -type f -exec egrep -i "$2" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g'
    else
      echo "ERROR: $1 is not a directory"
    fi
    fi
    fi
    #_END_OF_grepfind

     

RE: µµ¿ÍÁÖ¼¼¿ä

    Date : Sun, 7 Dec 1997 14:25:25 +0100(MET)
    From : Roland Smith
    rsmith@ibm.net

    Javier¾¾¿¡°Ô,
    ´ç½ÅÀÇ Áö³­ ¹ø Linux Gazette ±â»ç¿¡ ´ëÇÑ ´ä½ÅÀÔ´Ï´Ù.
    ´ç½ÅÀº MOZILLA(³Ý½ºÄÉÀÌÇÁ)°¡ ÀúÀåµÇ¾î ÀÖ´Â µð·ºÅ丮¿¡ ´ëÇÑ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÏ¿©¾ß ÇÑ´Ù°í Çϼ̾úÁÒ.
    µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
    'export MOZILLA_HOME=/usr/local/netscape'À» ÄÄÇ»ÅÍ°¡ ¸Å¹ø ½ÃÀÛµÉ ¶§¸¶´Ù ½ÇÇàÇØÁְųª ȤÀº /etc/profileÆÄÀÏÀ» ¼öÁ¤ÇÏ¸é µË´Ï´Ù. ÀÌ°ÍÀº bash½©ÀÌ ½ÃÀÛµÉ ¶§ Àоî¿À´Â ÆÄÀÏÀÔ´Ï´Ù. ÀÌ ÆÄÀÏ¿¡ ´ÙÀ½°ú °°Àº ³»¿ëÀ» Ãß°¡Çϼ¼¿ä.(³Ý½ºÄÉÀÌÇÁ´Â /usr/local/netscape µð·ºÅ丮¿¡ ¼³Ä¡µÇ¾î ÀÖ´Ù°í °¡Á¤ÇÕ´Ï´Ù.)

    MOZILLA_HOME=/usr/local/netscape
    export MOZILLA_HOME

    ¶ÇÇÑ À©µµ¿ì ¸Å´ÏÀúÀÇ ¼³Á¤ ÆÄÀÏ¿¡µµ ³Ý½ºÄÉÀÌÇÁÀÇ ½ÇÇà ÆÄÀÏÀÇ À§Ä¡¸¦ ¾Ë·ÁÁÖ¾î¾ß ³Ý½ºÄÉÀÌÇÁ¸¦ À©µµ¿ì ¸Å³ÊÀÚ°¡ »ç¿ëÇÏ´Â Åø¹Ù³ª ¸Þ´º¿¡¼­ °ð¹Ù·Î ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ°ÍÀº »ç¿ëÇÏ´Â À©µµ¿ì ¸Å´ÏÀú¿¡ µû¶ó Ʋ¸®ÁÒ. ¸¸¾à FVWM2-95¸¦ »ç¿ëÇÏ½Å´Ù¸é ´ÙÀ½°ú °°Àº ³»¿ëÀ» Ȩ µð·ºÅ丮¿¡ ÀÖ´Â .fvwm2rc95ÆÄÀÏ¿¡ Ãß°¡ÇØÁÖ¼¼¿ä.

    #add to this menu
    AddMenu "Utilities" Titel
    + "Netscape%mini-ascape.xpm% Exec netscape -geometry
    931x683+54+9 &

     

»ç¿ëÇÏÁö ¾Ê´Â Çϵåµð½ºÅ© ȸÀü ¼Óµµ ÁÙÀ̱â

    Date : Mon, 08 Dec 1997 14:21:31 -0500
    From : Peter S Galbraith galbraith@mixing.qc.dfo.ca
    Linux Gazette 12¿ùÈ£ ±â»ç Áß ÇÏµå µð½ºÅ©ÀÇ È¸Àü ¼Óµµ¸¦ ÁÙÀ̱â À§Çؼ­ hdparm ¸í·ÉÀ» »ç¿ëÇÏ´Â ¹æ¹ýÀÌ ÀÖ¾úÁÒ. ÀÌ°ÍÀ» Á¦ ¿À·¡µÈ SCSI ÇÏµå µð½ºÅ©¿¡ ´ÙÀ½°ú °°ÀÌ Àû¿ëÇغ¸¾Ò½À´Ï´Ù.
    ¾ÈŸ±õ°Ôµµ SCSI ÇÏµå µð½ºÅ©¿¡´Â hdparm ¸í·ÉÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â±º¿ä. (¸Þ´º¾ó ÆäÀÌÁö¿¡µµ ³ª¿ÍÀÖÁö ¾ÊÀº °Ô Âü ÀÌ»óÇÏÁÒ?)

    bash-2.01#hdparm -S6 /dev/sdb

    /dev/sdb;
    operation not supported on SCSI disks

     

º¸¾È ½ºÅ©¸³Æ®

    Date : Mon, 15 Dec 1997 20:49:53 -0600 (CST)
    From : Corey G cgaff@interaccess.com
    Àú´Â Á¾Á¾ Á¦ ÄÄÇ»ÅÍ°¡ ÀÎÅͳݿ¡ ¹°·ÁÀִ ä·Î ¿À·§µ¿¾È ÀÚ¸®¸¦ ºñ¿ì°ï ÇÕ´Ï´Ù. ´ç¿¬È÷ ÀÌ ½Ã°£ µ¿¾È Ȥ½Ã¶óµµ ÇØÄ¿°¡ Á¦ ÄÄÇ»ÅÍ¿¡ ħÀÔÇÏÁö ¾Ê¾ÒÀ»±î °ÆÁ¤ÀÌ µÇÁö¿ä. ±×·¡¼­ Àú´Â ´©±¸µçÁö(rootµµ) Á¦°¡ ¾ø´Â ½Ã°£ µ¿¾È »õ·Î¿î ÇÁ·Î¼¼½º¸¦ »ý¼ºÇß´ÂÁö ¿©ºÎ¸¦ ¾Ë ¼ö ÀÖ´Â ÇÁ·Î±×·¥À» ¿øÇß¾ú½À´Ï´Ù.
    ÀÌ ½ºÅ©¸³Æ®´Â ÀÌ·± ¸ñÀû¿¡ »ç¿ëµÇ´Â °ÍÀÔ´Ï´Ù. Àú´Â ÀÌ°Í°ú ºñ½ÁÇÑ ´Ù¸¥ ƯÁ¤ ÇÁ·Î±×·¥ÀÌ ÀÖ´ÂÁö´Â Àß ¸ð¸£Áö¸¸ ÀÌ ½ºÅ©¸³Æ®¸¦ ¿©·¯¸ð·Î Å×½ºÆ®ÇØ º» °á°ú ²Ï Àß µ¿ÀÛÇÏ´õ±º¿ä. ÀÌ ½ºÅ©¸³Æ®´Â ¿©·¯ºÐÀÌ ÄÄÇ»Å͸¦ »ç¿ëÇÏ°í ÀÖÀ» ¶§ ½ÇÇàÇϸé Á» ±ÍÂúÀ» ¼öµµ ÀÖ½À´Ï´Ù.

    ¾î¶»°Ô µ¿ÀÛÇϴ°¡?
    ÀÌ ½ºÅ©¸³Æ®´Â óÀ½ ½ÇÇàÇÒ ¶§ ¼öÇàµÇ´ø ¸ðµç ÇÁ·Î¼¼½ºµéÀÇ Á¤º¸¸¦ ¾Ë¾Æ³»¾î Àӽà ÆÄÀÏ¿¡ ¾¹´Ï´Ù. ±âº»ÀûÀ¸·Î 10ÃÊ°¡ Áö³­ ÈÄ »õ·Î¿î ÇÁ·Î¼¼½º°¡ ½ÇÇà µÇ¾ú³ª¸¦ Àӽà ÆÄÀÏÀÇ Á¤º¸¿Í ºñ±³Çؼ­ ¾Ë¾Æ³»´Â °ÅÁÒ. ÀÌ·¯ÇÑ »õ·Î¿î ÇÁ·Î¼¼½º°¡ '¹ÏÀ» ¸¸ÇÑ' ÇÁ·Î¼¼½º°¡ ¾Æ´Ï¸é Áï°¢ kill µÇ´Â °Ì´Ï´Ù.

    »ç¿ë¹ý:
    root·Î ·Î±äÇÏ¿© ½ºÅ©¸³Æ®¸¦ ¼öÇàÇÕ´Ï´Ù. ±×·¯¸é ¿ì¼± ÀÚµ¿À¸·Î ÆÄÀÏÀ» ÀúÀåÇÒ ¾ÈÀüÇÑ µð·ºÅ丮¸¦ ¸¸µé °ÍÀÔ´Ï´Ù. Àú´Â ¿©±â¼­ µÎ °³ÀÇ º¯¼ö("TRUSTED_ITEMS", "TRUSTED_USERS")¸¦ ÁöÁ¤Çß½À´Ï´Ù. ÀÌ º¯¼ö´Â ƯÁ¤ ÇÁ·Î±×·¥À̳ª ƯÁ¤ À¯Áö´Â »õ·Î¿î ÇÁ·Î¼¼½º¸¦ ½ÇÇàÇϴµ¥ ¾Æ¹«·± ÁöÀåÀÌ ¾øµµ·Ï Çϱâ À§Çؼ­ ÀÔ´Ï´Ù. ÁÖÀÇÇÒ °ÍÀº ¾î¶² ÇÁ·Î±×·¥ÀÇ °æ¿ì(¿¹: xtremÀÇ °æ¿ì "xterm"°ú "bash"¸¦ µ¿½Ã¿¡(bash¸¦ ½©·Î »ç¿ëÇÏ°í ÀÖÀ» ¶§) ÁöÁ¤ÇØÁÖ¾î¾ß ÇÔ) Çϳª ÀÌ»óÀÇ ÇÁ·Î±×·¥À» ÁöÁ¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù.

    ÁÖÀÇ : ÀÌ ½ºÅ©¸³Æ®¸¦ Å×½ºÆ®ÇÒ ¶§´Â Áß¿äÇÑ ÀÛ¾÷ÀÌ ¼öÇàµÇÁö ¾Ê°í ÀÖ³ª È®ÀÎÇغ¸¼¼¿ä.

    ÀÌ ½ºÅ©¸³Æ®¸¦ ½ÃÀÛÇϱâ À§Çؼ­´Â : nohup ./ secmach &

    Àú´Â ÀÌ ½ºÅ©¸³Æ®¸¦ Çâ»ó½ÃÅ°°í ½Í½À´Ï´Ù. Á¦¾È »çÇ×À̳ª ÇÏ½Ç ¸»¾¸ÀÌ ÀÖÀ¸½Ã¸é ¾ðÁ¦µçÁö ÀüÀÚ¿ìÆíÀ» Á¦°Ô º¸³»ÁÖ¼¼¿ä.

     

cron.hourly Á¦¾îÇϱâ

    Date : Sun, 21 Dec 1997 10:36:16 -0500 (EST)
    From : Jeff Johnson jbj@JBJ.ORG
    Gary Turkington¾¾¿¡ µû¸£¸é:

    #!/bin/sh
    # Secmach - security program
    # v1.0 12-14-97
    # By: Corey Gaffney

    export PATH=/usr/bin:/bin:/sbin

    COUNTER=0
    LOCATION=/usr/secmach
    CHECK_TIME=10
    TRUSTED=/usr/secmach/untrusted
    DIFFKILL=/usr/secmach/diffkill
    TRUSTED_USERS="johndoe"
    TRUSTED_ITEMS="$TRUSTED_USERS|pppd|chat|netscape|xterm|egrep|ps|sed|secmach|awk"

    if [! -s $LOCATION ]
         then
         mkdir  $LOCATION
         chmod 700 $LOCATION
         fi

    while:
    do
    COUNTER=expr $COUNTER + 1
    if [$COUNTER -eq 1]
         then
         ps -aux | sed -e '1d' | awk '{print $2}' > @TRUSTED
    fi
         sleep $CHECK_TIME

    ps -aux | sed -e '1d' | egrep -v $TRUSTED_ITEMS | awk '{print $2}' >
    $UNTRUSTED
         diff $TRUSTED $UNTRUSTED > $DIFFKILL
         KILL=grep ">" $DIFFKILL | awk '{print $2}'
         kill -9 $KILL
    done

    Àú´Â "Á¤¸»·Î" °£´ÜÇÑ ¸î °¡Áö ¹æ¹ýÀ» ¾Ë°í Àִµ¥ ½±Áö°¡ ¾Ê³×¿ä. ¾î¶»°Ô Çϸé cron.hourly°¡ root¿¡°Ô fortune¸Þ½ÃÁö¸¦ º¸³»´Â °ÍÀ» ¸·À» ¼ö ÀÖÀ»±î¿ä?
    Àü¿¡´Â ÀÌ°ÍÀÌ ÇÏ·ç¿¡ Çѹø¾¿À̾ º°·Î ºÎ´ã½º·´Áö ¾Ê¾Ò´Âµ¥ 5.0À¸·Î ¾÷±×·¹À̵åÇÏ°í ³ª´Ï ½Ã°£¸¶´Ù ±×·¯³×¿ä... ÀÌ·± °Íµµ ÀÏÁ¾ÀÇ ½ºÆÔ¸ÞÀÏÀÌÁÒ :-)
    cron.hourly´Â ´ÙÀ½ ¼ø¼­·Î ¼öÇàµÈ´ä´Ï´Ù.

    1) cronÀº ¸Å½Ã°£ ¸¶´Ù rootÀÇ ÀÚ°ÝÀ¸·Î ÀÛ¾÷À» ¼öÇàÇÑ´Ù.
    2) ÀÌ ÀÛ¾÷À» ¼öÇàÇϱâ À§Çؼ­´Â ¼­·Î »óÈ£ÀÛ¿ëÇÏÁö ¸øÇÏ´Â(Áï stdin/stdoutÀÌ tty·Î ¿¬°áµÇ¾î ÀÖÁö ¾Ê°í cronÀ¸·Î ¿¬°áµÇ¾î ÀÖ´Ù´Â ¾ê±â) ½©ÀÌ ¼öÇàµÈ´Ù.
    3) ÀÌ ½©Àº ÃʱâÈ­ ÆÄÀÏÀ» ÀϾîµéÀδÙ. : /etc/profile,~/.bashrc µî
    4) ÃʱâÈ­ ÆÄÀϵéÀÌ fortuneÀ» ¼öÇàÇÑ´Ù.
    5) ÀÛ¾÷ÀÌ ¼öÇàµÈ´Ù.
    6) cronÀÌ È­¸é¿¡ ¹º°¡ ³ª¿Â °ÍÀ» ¹ß°ßÇÏ°í root¿¡°Ô ¸ÞÀÏÀ» º¸³½´Ù.

    ÀÌ ¹®Á¦¸¦ ÇØ°áÇϱâ À§Çؼ­´Â ¾î´À ½© ÃʱâÈ­ ÆÄÀÏ¿¡ fortuneÀ» ½ÇÇàÇϵµ·Ï ÇØ µÎ¾ú´ÂÁö ¾Ë¾Æ³»¾î¾ß fortuneÀ» ½ÇÇàÇÏÁö ¸øÇÏ°Ô Çϰųª fortuneÀÌ ¼­·Î »óÈ£ÀÛ¿ëÇÏÁö ¸øÇÏ´Â ½©À» »ç¿ëÇÒ ¶§´Â ÀÛµ¿ÇÏÁö ¾Ê°Ô ÇÏ¸é µË´Ï´Ù.

     

    The Answer Guy

     

³Ý½ºÄÉÀÌÇÁ ¸ÞÀÏÀÌ ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù.

    From : Jim Kelly, the-jim@swbell.net
    Àú´Â ³Ý½ºÄÉÀÌÇÁ Ä¿¹Â´ÏÄÉÀÌÅÍ 4.04¸¦ Á¦ ·¹µåÇò ¸®´ª¼ö ½Ã½ºÅÛ¿¡¼­ »ç¿ëÇØ¿Ô½À´Ï´Ù. ±×·±µ¥ ¾îÁ¦ºÎÅÍ´Â Á¦°¡ »õ·Î¿î ¸ÞÀÏÀÌ ¿Ô³ª üũ¸¦ Çغ¸°Å³ª »õ·Î¿î ´º½º±×·ìÀÌ ÀÖ³ª üũÇغ¸±â¸¸ Çϸé ÇÁ·Î±×·¥ÀÌ Áß´ÜµÇ¾î ¹ö¸®³×¿ä. ±×·¡¼­ Àú´Â 4.04¸¦ Áö¿ì°í ´Ù½Ã ¼³Ä¡ÇغÃÁÒ. ±×·¡µµ ¸¶Âù°¡ÁöÀε¥ ¾î¶»°Ô Çϸé ÁÁÀ»±î¿ä?

    ¸¸¾à ³Ý½ºÄÉÀÌÇÁ 4.04¸¦ Áö¿ì¼Ì´Ù¸é Ȩ µð·ºÅ丮ÀÇ .netscape µð·ºÅ丮µµ °°ÀÌ Áö¿ì¼Ì³ª¿ä?
    ´Ù¸¥ »ç¿ëÀÚ·Î ·Î±äÇϼż­ »ç¿ëÇϽŠ°á°ú´Â ¾î¶»½À´Ï±î? ´Ù¸¥ ¸ÞÀÏ ÇÁ·Î±×·¥À» »ç¿ëÇϽðųª ´Ù¸¥ ´º½º¸®´õ ÇÁ·Î±×·¥À» »ç¿ëÇغ¸¼Ì´ÂÁö¿ä? (elm, pine, emacs'mh, tin, nn, tm, gnus µîµî) ¾Æ¸¶µµ ¼³Á¤ ÆÄÀÏÀÌ ¼Õ»óµÇÁö ¾Ê¾Ò³ª »ý°¢µÇ´Âµ¥¿ä. ¸¹Àº ÇÁ·Î±×·¥µéÀÌ À߸øµÈ ÀÔ·Â ¶§¹®¿¡ ¿¡·¯¸¦ ³»´Â °æ¿ì¸¦ ¸¹ÀÌ ºÁ¿Ô½À´Ï´Ù. Àú´Â ±×·¡¼­ ÅؽºÆ® ¸ðµåÀÇ ¸ÞÀÏ/´º½º ÇÁ·Î±×·¥À» »ç¿ëÇÑ´ä´Ï´Ù. (emacs' mh-e¿Í Gns)

     

½½·¢¿þ¾î : µµ¿ÍÁÖ¼¼¿ä

    From : Ralph, RPMAXEDGE@aol.com
    µµ¿ÍÁÖ¼¼¿ä!!!
    ¾ó¸¶Àü¿¡ ½½·¢¿þ¾î 3.2¸¦ ¼³Ä¡Çß°í, ¸ðµç °ÍÀÌ Àß µÇ´Â °Í °°¾Ò´Âµ¥ rootÀÇ Æнº¿öµå¸¦ ¹Ù²Ù°í ³­ ÈÄ ¹®Á¦°¡ ¹ß»ýÇß±º¿ä. ¹«½¼ ÀÌÀ¯ÀÎÁö´Â ¸ô¶óµµ Á¦°¡ ¹Ù²Û Æнº¿öµå·Î´Â ·Î±äÀÌ ¾È µË´Ï´Ù. ±×·¡¼­ Àú´Â ·çÆ® µð·ºÅ丮¸¦ ¸¶¿îÆ®Çؼ­ /etc/shadow¿¡ ÀÖ´Â ÇöÀç Æнº¿öµå¸¦ Áö¿ö ¹ö¸®·Á°í Çϴµ¥ Àß µÇÁö ¾Ê³×¿ä. Àú´Â SCSI ÇÏµå µð½ºÅ© sda1, sda2¸¦ ÅëÇؼ­ ¸®´ª½º¸¦ ¼³Ä¡Çß½À´Ï´Ù. ÀÌ ¹®Á¦¸¦ ÇØ°áÇϴµ¥ µµ¿òÀÌ µµ¸® ¼ö ÀÖ´Â ÈùÆ®¸¦ ÁֽŴٸé Á¤¸»·Î °¨»çÇÏ°Ú½À´Ï´Ù.

    Àú´Â ÃÖ±Ù¿¡ »õ·Î ³ª¿Â ½½·¢¿þ¾î¸¦ »ç¿ëÇغ¸Áø ¾Ê¾ÒÁö¸¸ ÀϹÝÀûÀÎ ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù. ÀÌ·± ¹®Á¦(rootÀÇ Æнº¿öµå ºÐ½Ç)ÀÇ °æ¿ì º¹±¸ µð½ºÄÏÀ¸·Î ºÎÆÃÇÑ ÈÄ (¸®´ª½º¸¦ µÎ °³ ÀÌ»ó »ç¿ëÇÏ½Ç °æ¿ì ´Ù¸¥ ¸®´ª½º·Î ºÎÆÃÇصµ µÊ) ·çÆ® µð·ºÅ丮°¡ µé¾îÀÖ´Â ÆÄƼ¼ÇÀ» ¸¶¿îÆ®ÇÏ¸é µË´Ï´Ù. ±×¸®°í ³ª¼­ °£´ÜÈ÷ ¿øÇÏ´Â ÆÄÀÏÀ» ¼öÁ¤ÇÏ¸é µÇÁÒ.
    ¶Ç ÇÑ°¡Áö ¼ÓÀÓ¼ö´Â Æнº¿öµå ÆÄÀÏÀ» ¼öÁ¤ÇÏÁö ¸»°í chroot ¸í·ÉÀ» °ð¹Ù·Î »ç¿ëÇÏ´Â °Ì´Ï´Ù.
    ±âº»ÀûÀ¸·Î ´ÙÀ½°ú °°Àº ÀýÂ÷·Î ¸¶¿îÆ®¸¦ ¼öÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
    ±×¸®°í :

    cd /mnt/oldroot/ & & usr/sbin/chroot . bin/sh

    (ÀÌ ¹æ¹ýÀº º¸ÅëÀÇ passwd ¸í·ÉÀ» »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù. ±×¸®°í (chroot)/etc µð·ºÅ丮ÀÇ Æнº¿öµå ÆÄÀÏÀ» ¾÷µ¥ÀÌÆ®Çϵµ·Ï ÇØÁÝ´Ï´Ù.)
    Á» ´õ Á¦´ë·Î °ü¸®Çϱâ À§Çؼ­´Â ·çÆ® ÆÄƼ¼ÇÀ» ´Ù¸¥ °÷¿¡ Çϳª ´õ °¡Áöµç°¡ /etc µð·ºÅ丮 ¾Æ·¡ÀÇ ¸ðµç ³»¿ëµéÀ» Ä«ÇÇÇصδ °ÍÀÌ ÁÁ½À´Ï´Ù.)

     

¸®´ª½º¸¦ PDT·Î »ç¿ëÇϱâ

    From : Karl Rossing, gtivr6@pangea.ca
    ¸®´ª½º¸¦ PDC(Primary Domain Controller)³ª NIS/NIS+ ¸¶½ºÅÍ ¼­¹ö µîÀ¸·Î »ç¿ëÇϱâ
    À©µµ¿ìÁî 95/NT¿¡¼­ ¸®´ª½ºÀÇ NIS/NIS+¸¦ ÀÌ¿ëÇÏ¿© »ç¿ëÀÚ ÀÎÁõÀ» ¹ÞÀ» ¼ö ÀÖ´ÂÁö ¾Ë°í ½Í½À´Ï´Ù. ¸®´ª½º »ç¿ëÀÚ¸¦ ¸Å¹ø NTÃø¿¡ ´Ù µî·ÏÇÏ´Â °ÍÀº ³Ê¹« ÇÇ°ïÇÑ ÀÏÀ̳׿ä. Ȥ½Ã ÀÌ ºÎºÐÀÇ »ó¾÷¿ë ¼ÒÇÁÆ®¿þ¾îµµ ÀÖ´ÂÁö ¾Ë·ÁÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.

    ÀÌ Áú¹®Àº ½±°Ô ´ë´äÇϱⰡ ¾î·Æ³×¿ä. ¾î¶»°Ô Çϸé MS Ŭ¶óÀ̾ðÆ® ¸Ó½Åµé (95 or NT)ÀÌ ¸®´ª½ºÀÇ ¾×¼¼½º Á¦¾î¿Í »ç¿ëÀÚ ÀÎÁõ¿¡ °üÇÑ Á¤º¸¸¦ ÀÌ¿äÇÒ ¼ö ÀÖÀ» °ÍÀÎÁö¿¡ °üÇÑ ¾ê±äµ¥ GINA(Graphical Identification and Authentication)¶ó´Â NT Äֿܼ¡¼­ ·Î±äÀ» Á¦¾îÇÏ´Â NT DLLÀ» ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ GINA´Â ¿©·¯ °¡ÁöÀÇ Á¾·ù°¡ Àִµ¥ Novell¿¡¼­ NDS¸¦ À§ÇØ ³ª¿Â °Íµµ ÀÖ°í MIT¿¡¼­ kerberos¸¦ À§Çؼ­ ³ª¿Â °Íµµ ÀÖÀ¸¸ç AFS¿¡¼­ »ç¿ëÇϱâ À§ÇÑ °Íµµ ÀÖ½À´Ï´Ù. °¢°¢ÀÇ URLÀº ´ÙÀ½°ú °°½À´Ï´Ù.

    NT GINA :
    http://web.mit.edu/cartel/ntgina.html - very informative - leads to all the rest that I found.

    ND_GINA(NT¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Â ¶Ç ÇϳªÀÇ GINA):
    http://www.nd.edu/~dobbins/ntarch/nd_gina_doc.html

    NT/UNIXÀÇ ÅëÇÕ : http://www.arch.usyd.edu.au/~doug/gina.html

    GINAÀÇ ¹®Á¦Á¡Àº À©µµ¿ìÁî95¿¡¼­´Â ÀÛµ¿ÇÏÁö ¾Ê´Â °Í°°´Ù´Â °ÍÀÔ´Ï´Ù.
    Æнº¿öµå¸¦ µ¿±âÈ­ÇÏ´Â ¹®Á¦¿¡ °üÇؼ­´Â ±×´ÙÁö ¸¹Àº ¾ê±â°¡ ¾ø¾ú´ø °Í °°½À´Ï´Ù¸¸ µð·ºÅ丮 ¼­ºñ½º¶óµçÁö »ç¿ëÀÚ ÀÎÁõ ¹æ¹ý¿¡ ´ëÇؼ­´Â ¿©·¯ °¡Áö ¹æ¹ýµéÀÌ ÀÖ½À´Ï´Ù. ¹°·Ð °¢°¢Àº ÀÏÀåÀÏ´ÜÀÌ ÀÖ°ÚÁö¿ä. ÀÌ·¯ÇÑ ¹®Á¦¿¡ °üÇؼ­ Cygnus¿¡¼­ ±¦ÂúÀº ¹é¼­¸¦ Çϳª ¹ß°£ÇÑ ÀûÀÌ ÀÖ½À´Ï´Ù. ÀÌ¿Ü¿¡µµ »ý°¢ÇØ º¼ ¼ö ÀÖ´Â °Íµé·Î´Â

    http://www.cygnux.com/product/unifying-security.html

    µîÀÌ ÀÖÁö¿ä. °³ÀÎÀûÀ¸·Î´Â ¸ðµÎ ´Ù ÁÁ¾ÆÇÏÁö ¾Ê½À´Ï´Ù.

    Microsoft's WINS (and its PDC/BDC domain model)
    Kerberos and Cygnus Kerbnet
    NIS/NIS+
    RADIUS/TACACS
    LDAP (lightweight directory access protdcol)
    Netware NDS, Banyan StreetTalk. etc.
    Host based security - custom synchronization scripts.

    NIS/NIS+´Â ÁÖ·Î NFS¿Í °°ÀÌ ¾²ÀÌ°í Kerberos´Â AFS/DFS/CODA¿Í °áÇÕµÇ¾î ¾²ÀÔ´Ï´Ù. CIFS/SMB filesharingÀÇ °æ¿ì ´ë´ÜÈ÷ ¹Ì¾àÇÑ ÀÎÁõ ¼­ºñ½º³ª WINS¸¦ »ç¿ëÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
    ´ëü·Î Àú´Â CODA°¡ °¡Àå ÁÁÀº ¼±ÅÃÀ̶ó°í »ý°¢ÇÏ°í ÀÖ½À´Ï´Ù. CODA¿¡ °üÇÑ ÀÚ¼¼ÇÑ Á¤º¸´Â ´ÙÀ½ÀÇ ¸ÞÀϸµ¸®½ºÆ®¸¦ Âü°íÇϽʽÿÀ.

    http://www.coda.cs.cmu.edu/maillist/linux-coda/0715.html

    ´ç½ÅÀº Samba¸¦ ¸®´ª½º ¼­¹ö¿¡¼­ À©µµ¿ìÁî Ŭ¶óÀ̾ðÆ®·Î ÆÄÀÏÀ» °øÀ¯ÇÒ ¼ö ÀÖµµ·Ï ÇϱâÀ§ÇØ »ç¿ëÇÑ´Ù°í °¡Á¤ÇÏ°Ú½À´Ï´Ù. Samba META-FAQ¸¦ Àо¸é ¾î¶² ÆäÀÌÁö¿¡ linux¿Í Samba¸¦ ÀÌ¿ëÇؼ­ Àüü ³×Æ®¿öÅ©ÀÇ °èÁ¤À» °ü¸®ÇÒ ¼ö ÀÖ´Ù°í ÀûÇôÀÖ´Â °ÍÀ» º¸½Ç ¼ö ÀÖÀ» °Ì´Ï´Ù.

    Samba : »ç¿ëÀÚ °èÁ¤
    http://samba.anu.edu.au/samba/docs/smb_serv/html/smb_se-4.html#ss4.1
    Samba : Samba ¼­¹ö HOWTO
    http://samba.anu.edu.au/samba/docs/smb_serv/html/smb_se.html

    (Á¦°¡ ÀÌ ¹®¼­¸¦ Á¦´ë·Î ÀÐÀº °Å¶ó¸é »ï¹Ù´Â ÇöÀç·Î¼­´Â 'Æнº¿öµå ¼­¹ö'ÀÇ ¿ªÇÒÀ» ÇÏÁö ¸øÇÕ´Ï´Ù. ÀÌ°ÍÀº NT ½Ã½ºÅÛÀÌ Å¬¶óÀ̾ðÆ®ÀÇ ÀÎÁõ ¿ä±¸¸¦ ÂüÁ¶Çϱâ À§ÇÑ PDC/BDC(Backup Domain Controller)·Î¼­ÀÇ ¿ªÇÒÀ» ÇÒ ¼ö ¾ø´Â °ÍÀ» ÀǹÌÇÏ´Â °ÍÀ¸·Î º¸ÀÏ ¼öµµ ÀÖ½À´Ï´Ù.)
    ¹Ì·¡¿¡´Â ¾Æ¹«·¡µµ LDAP¿Í Kerberos°¡ NT¿Í ´Ù¸¥ ¿©·¯ OSÆÐÅ°Áöµé¿¡ »ç¿ëµÇ¸é¼­ ±× ÁÖµµ±ÇÀ» Áæ °ÍÀ̶ó°í »ý°¢µÇ´Âµ¥ ¸¹Àº »ç¿ë º¥´õµéÀÌ ¸¶Áö ¸øÇØ µû¶ó°¡´Â °ÍÀÌ ¾Æ´Ï¶ó¸é ±×·¸°Ô µÇ´Â °Íµµ ±¦ÂúÀ» °ÍÀÔ´Ï´Ù.
    ¹®Á¦´Â ¸ðµç »ç¶÷ÀÇ LDAP(µð·ºÅ丮 ¼­ºñ½º)¿Í Kerberos(»ç¿ëÀÚÀÎÁõ)°¡, °¢°¢ÀÇ º¥´õµéÀÌ ÀڽŵéÀÇ ¹üÀ§ ¾È¿¡¼­ '¼­¹ö'°¡ µÇ·Á°í ÇÒ °ÍÀ̱⠶§¹®¿¡ °¢°¢ ´Ù¸¥ ÇüŸ¦ ¶î ¼ö ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù. ±×µé(º¥´õ)´Â ¾Æ¹«·¡µµ ÀڽŵéÀÇ ½Ã½ºÅÛÀÇ »óÈ£ ¿î¿ë¼º¿¡ ´ëÇؼ­ ¿©·¯ ¹æ¹ýÀ¸·Î ±¤°í¸¦ ÇÏ°ÚÁö¸¸ ´ëºÎºÐÀº ÀڽŵéÀÇ ½Ã½ºÅÛÀ» ´Ù¸¥ º¥´õµé ¶Ç´Â ÀÚÀ¯ ¼ÒÇÁÆ®¿þ¾î ÇÁ·Î±×·¡¸Óµé¿¡ Àû¿ëµÉ ¼ö ÀÖµµ·Ï Çϱâ À§ÇÑ 'È®À强'¿¡ ´ëÇؼ­´Â ¼Ó ±íÀº °÷±îÁö °ø°³ÇÏÁö ¾ÊÀ» °ÍÀÌ ºÒ º¸µí »·Çϱ⠶§¹®ÀÌÁÒ.
    Á¦ »ý°¢¿£ ½Ã½ºÅÛ °ü¸®ÀÚµéÀÌ ÅëÀÏµÈ µð·ºÅ丮 ¼­ºñ½º¿Í »ç¿ëÀÚ ÀÎÁõ ¼­ºñ½º¸¦ ¹Þµµ·Ï Çϱâ À§Çؼ­´Â ¾ÕÀ¸·Î ¸î ³âÀÇ ½Ã°£ÀÌ ´õ ÇÊ¿äÇÏ´Ù°í º¾´Ï´Ù. ¹°·Ð ¹ö±×¿Í º¸¾È»óÀÇ ¹®Á¦Á¡ÀÌ ¿©±âÀú±â¼­ Æ¢¾î ³ª¿À°ÚÁö¸¸, (À¯´Ð½º´Â 27³â µ¿¾È ±×·± ¹®Á¦Á¡À» º¸¿©¿Ô°í NT´Â ¿¹ÀüÀÇ ±×·¯ÇÑ ¹®Á¦Á¡µéÀ» Áö±Ý¿¡ À̸£·¯ ´Ù½Ã º¸¿©ÁÖ°í ÀÖ½À´Ï´Ù.)
    ±×µ¿¾È ¿ì¸®´Â ¸ðµÎ ´Ù¸¥ »ç¿ëÀÚ °èÁ¤(ÀÎÁõ ±×·ì, ÅäÅ« µîÀÇ Á¤º¸)°ú ÀÎÁõ Á¤º¸¸¦ ¿äÇÏ´Â ¼ö ¸¹Àº ¼­¹ö¿Í ³×Æ®¿öÅ© ÇÁ·Î±×·¥À» º¸°Ô µÉ °ÍÀÔ´Ï´Ù.
    ´õ ÁÁÁö ¾ÊÀº °ÍÀº, Áö±Ý±îÁö ¾ê±âÇÑ ¿©·¯ °èÃþÀÇ °ü¸® ¹æ¹ýµéÀÌ ÀÌ¹Ì ½ÃÀå¿¡¼­ ÆǸŵǰí ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù. ½Ã½ºÅÛ °ü¸®°¡ ¾ÆÁÖ Èûµé¾îÁö°Ô µÉ ³¯ÀÌ Á¡Á¡ ´Ù°¡¿À°í ÀÖ´Â °ÍÀÌÁÒ.




¡ã top

homeÀ¸·Î...