📄 htpasswd.html.ko.euc-kr
字号:
<?xml version="1.0" encoding="EUC-KR"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --><title>htpasswd - basic authentication俊 荤侩且 荤侩磊颇老阑 包府茄促 - Apache HTTP Server</title><link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /><link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link href="../images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="../images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - basic authentication俊 荤侩且 荤侩磊颇老阑 包府茄促</h1><div class="toplang"><p><span>啊瓷茄 攫绢: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> |<a href="../ko/programs/htpasswd.html" title="Korean"> ko </a></p></div><div class="outofdate">捞 巩辑绰 弥脚魄 锅开捞 酒凑聪促. 弥辟俊 函版等 郴侩篮 康绢 巩辑甫 曼绊窍技夸.</div> <p><code>htpasswd</code>绰 HTTP basic authentication俊 荤侩且 荤侩磊疙苞 鞠龋甫 历厘窍绰 老馆颇老阑 积己窍绊 荐沥茄促. <code>htpasswd</code>啊 颇老阑 静芭唱 佬阑 荐 绝促搁, 坷幅惑怕甫 馆券窍绊 酒公巴档 荐沥窍瘤 臼绰促.</p> <p>酒颇摹 昆辑滚绰 磊盔阑 <code>htpasswd</code>肺 父电 颇老俊 扁废茄 荤侩磊俊霸父 焊咯临 荐 乐促. 捞 橇肺弊伐篮 荤侩磊疙苞 鞠龋甫 历厘窍绰 老馆 颇老阑 包府茄促. 弊矾唱 促弗 磊丰历厘 规侥阑 困秦 鞠龋 沥焊甫 鞠龋拳窍咯 历厘且 荐 乐促. DBM 单捞磐海捞胶甫 荤侩窍妨搁 <a href="dbmmanage.html">dbmmanage</a>甫 曼绊窍扼.</p> <p><code>htpasswd</code>绰 酒颇摹 漂蜡狼 MD5 趣篮 矫胶袍狼 <code>crypt()</code>甫 荤侩窍咯 鞠龋甫 鞠龋拳茄促. <code>htpasswd</code>啊 包府窍绰 颇老篮 滴 辆幅狼 鞠龋甫 葛滴 历厘且 荐 乐促. 溜, 鞍篮 颇老俊 MD5肺 鞠龋拳茄 鞠龋甫 荤侩窍绰 荤侩磊客 <code>crypt()</code>肺 鞠龋拳茄 鞠龋甫 荤侩窍绰 荤侩磊 沥焊 葛滴 唱棵 荐 乐促.</p> <p>捞 manpage绰 疙飞青 可记父阑 汲疙茄促. <a href="httpd.html">httpd</a>俊辑 荤侩磊牢刘阑 汲沥窍绰 瘤矫绢俊 措茄 汲疙篮 酒颇摹 硅器夯俊 器窃登乐绊 <a href="http://httpd.apache.org">http://httpd.apache.org/</a>俊辑档 杭 荐 乐绰 酒颇摹 汲疙辑甫 曼绊窍扼.</p></div><div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">俺夸</a></li><li><img alt="" src="../images/down.gif" /> <a href="#options">可记</a></li><li><img alt="" src="../images/down.gif" /> <a href="#exit">辆丰内靛</a></li><li><img alt="" src="../images/down.gif" /> <a href="#examples">抗力</a></li><li><img alt="" src="../images/down.gif" /> <a href="#security">焊救惑 绊妨且 痢</a></li><li><img alt="" src="../images/down.gif" /> <a href="#restrictions">力茄</a></li></ul><h3>曼绊</h3><ul class="seealso"><li><a href="httpd.html">httpd</a></li><li>硅器夯俊绰 SHA1阑 瘤盔窍绰 胶农赋飘档 乐促.</li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="synopsis" id="synopsis">俺夸</a></h2> <p><code><strong>htpasswd</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> ] [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p> <p><code><strong>htpasswd</strong> -<strong>b</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>p</strong> | -<strong>s</strong> ] [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var> <var>password</var></code></p> <p><code><strong>htpasswd</strong> -<strong>n</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <var>username</var></code></p> <p><code><strong>htpasswd</strong> -<strong>nb</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <var>username</var> <var>password</var></code></p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="options" id="options">可记</a></h2> <dl> <dt><code>-b</code></dt> <dd>硅摹(batch) 葛靛甫 荤侩茄促. <em>抗甫 甸绢</em>, 鞠龋甫 拱绢焊瘤臼绊 疙飞青俊辑 罐绰促. 疙飞青俊 <strong>鞠龋啊 流立 靛矾唱骨肺</strong>, 捞 可记篮 概快 炼缴秦辑 荤侩秦具 茄促.</dd> <dt><code>-c</code></dt> <dd><var>passwdfile</var>阑 父电促. <var>passwdfile</var>捞 捞固 粮犁茄促搁, 丹绢敬促. 捞 可记阑 <code>-n</code> 可记苞 鞍捞 荤侩且 荐 绝促.</dd> <dt><code>-n</code></dt> <dd>颇老阑 荐沥窍瘤臼绊 搬苞甫 钎霖免仿栏肺 免仿茄促. 酒颇摹啊 巩辑捞寇狼 镑俊 积己茄 鞠龋甫 历厘且锭 蜡侩窍促. (亲惑 霉锅掳 酒痹刚飘牢) <var>passwdfile</var> 酒痹刚飘啊 绝扁锭巩俊 疙飞青 巩过捞 促福促. <code>-c</code> 可记苞 鞍捞 荤侩且 荐 绝促.</dd> <dt><code>-m</code></dt> <dd>MD5甫 荤侩窍咯 鞠龋甫 鞠龋拳茄促. Windows, Netware, TPF俊辑 扁夯蔼捞促.</dd> <dt><code>-d</code></dt> <dd><code>crypt()</code>甫 荤侩窍咯 鞠龋甫 鞠龋拳茄促. Windows, Netware, TPF甫 力寇茄 葛电 敲贰汽俊辑 扁夯蔼捞促. 葛电 敲贰汽狼 <code>htpasswd</code>啊 捞 屈侥阑 瘤盔且 荐绰 乐瘤父, Windows, Netware, TPF狼 <a href="httpd.html">httpd</a> 辑滚绰 捞 屈侥阑 瘤盔窍瘤 臼绰促.</dd> <dt><code>-s</code></dt> <dd>鞠龋甫 SHA 鞠龋拳茄促. LDAP 叼泛配府背券屈侥(ldif)阑 荤侩窍咯 Netscape 辑滚肺 沥焊甫 焊郴芭唱 芭廉棵锭 蜡侩窍促.</dd> <dt><code>-p</code></dt> <dd>鞠龋甫 弊措肺 荤侩茄促. 葛电 敲贰汽狼 <code>htpasswd</code>啊 瘤盔窍瘤父, Windows, Netware, TPF狼 <a href="httpd.html">httpd</a> 单阁父捞 老馆 鞠龋甫 罐绰促.</dd> <dt><code>-D</code></dt> <dd>荤侩磊甫 昏力茄促. htpasswd 颇老俊 荤侩磊疙捞 乐促搁 昏力茄促.</dd> <dt><code><var>passwdfile</var></code></dt> <dd>荤侩磊疙苞 鞠龋甫 历厘窍绰 颇老疙. <code>-c</code>甫 荤侩茄 版快 颇老捞 绝促搁 货肺 父甸绊, 乐促搁 丹绢敬促.</dd> <dt><code><var>username</var></code></dt> <dd><var>passwdfile</var>俊 父甸芭唱 荐沥且 荤侩磊疙. <var>username</var>捞 捞 颇老俊 绝促搁 亲格阑 眠啊茄促. 乐促搁 鞠龋甫 荐沥茄促.</dd> <dt><code><var>password</var></code></dt> <dd>鞠龋拳窍咯 颇老俊 历厘且 鞠龋. 坷流 <code>-b</code> 可记苞 鞍捞 荤侩且 荐 乐促.</dd> </dl></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="exit" id="exit">辆丰内靛</a></h2> <p><code>htpasswd</code>绰 <var>passwdfile</var>俊 荤侩磊疙苞 鞠龋甫 己傍利栏肺 眠啊窍芭唱 荐沥茄 版快 ("曼") 辆丰内靛 0阑 馆券茄促. <code>htpasswd</code>绰 颇老俊 立辟且锭 巩力啊 惯积茄 版快 <code>1</code>阑, 疙飞青 屈侥捞 肋给等 版快 <code>2</code>甫, 涝仿茄 鞠龋客 犬牢瞒 促矫 涝仿茄 蔼捞 老摹窍瘤 臼篮 版快 <code>3</code>阑, 疙飞捞 吝窜等 版快 <code>4</code>甫, (荤侩磊疙, 颇老疙, 鞠龋, 弥辆 拌魂搬苞) 蔼捞 呈公 变 版快 <code>5</code>甫, 荤侩磊疙俊 倾侩窍瘤臼绰 巩磊啊 器窃等 版快 <a href="#restrictions">力茄 例</a> 曼绊) <code>6</code>甫, 颇老捞 棵官弗 鞠龋颇老捞 酒囱 版快 <code>7</code>阑 馆券茄促.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="examples" id="examples">抗力</a></h2> <div class="example"><p><code> htpasswd /usr/local/etc/apache/.htpasswd-users jsmith </code></p></div> <p>荤侩磊 <code>jsmith</code>狼 鞠龋甫 眠啊窍芭唱 荐沥茄促. 荤侩磊俊霸 鞠龋甫 拱绢夯促. Windows 矫胶袍俊辑 角青窍搁 鞠龋甫 酒颇摹 漂蜡狼 MD5 舅绊府硫阑 荤侩窍咯 鞠龋拳窍绊, 酒聪搁 矫胶袍狼 <code>crypt()</code> 窃荐甫 荤侩茄促. 颇老捞 绝促搁 <code>htpasswd</code>绰 酒公 老档 窍瘤臼绊 坷幅甫 辰促.</p> <div class="example"><p><code> htpasswd -c /home/doe/public_html/.htpasswd jane </code></p></div> <p>货肺 颇老阑 父甸绊 弊 颇老俊 荤侩磊 <code>jane</code>阑 眠啊茄促. 荤侩磊俊霸 鞠龋甫 拱绢夯促. 颇老捞 乐瘤父 佬芭唱 镜 荐 绝促搁, <code>htpasswd</code>绰 颇老阑 荐沥窍瘤臼绊 巩备甫 免仿茄饶 坷幅惑怕甫 馆券茄促.</p> <div class="example"><p><code> htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve </code></p></div> <p>疙飞青狼 鞠龋(<code>Pwd4Steve</code>)甫 MD5 舅绊府硫栏肺 鞠龋拳窍咯 瘤沥茄 颇老俊 历厘茄促.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="security" id="security">焊救惑 绊妨且 痢</a></h2> <p><code>htpasswd</code> 殿捞 包府窍绰 昆 鞠龋颇老捞 昆辑滚狼 URI 傍埃俊 乐栏搁 <em>救等促</em>. 溜, 宏扼快历啊 捞 颇老阑 杭 荐 绝绢具 茄促.</p> <p>疙飞青俊 鞠龋拳窍瘤臼篮 鞠龋甫 荤侩窍扁锭巩俊 <code>-b</code> 可记阑 眠玫窍瘤 臼绰促.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="restrictions" id="restrictions">力茄</a></h2> <p>Windows客 MPE 敲贰汽篮 <code>htpasswd</code>啊 鞠龋拳窍绰 鞠龋狼 辨捞甫 <code>255</code> 巩磊肺 力茄茄促. 歹 变 鞠龋绰 255磊俊辑 漏赴促.</p> <p><code>htpasswd</code>啊 荤侩窍绰 MD5 舅绊府硫篮 酒颇摹 家橇飘傀绢 漂蜡狼 巴捞促. 捞甫 荤侩窍咯 鞠龋拳茄 鞠龋甫 促弗 昆辑滚俊辑 荤侩且 荐 绝促.</p> <p>荤侩磊疙篮 <code>255</code> 官捞飘肺 力茄登绊 <code>:</code> 巩磊甫 器窃且 荐 绝促.</p></div></div><div class="bottomlang"><p><span>啊瓷茄 攫绢: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> |<a href="../ko/programs/htpasswd.html" title="Korean"> ko </a></p></div><div id="footer"><p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p><p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -