htpasswd.xml.ko revision e095ed6283178339b437a6f15ebcc8a08289fb0d
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="/style/manual.ko.xsl"?>
<!-- English Revision: 105989:151408 (outdated) -->
<!--
Copyright 2004-2005 The Apache Software Foundation or its licensors,
as applicable.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="htpasswd.xml.meta">
<parentdocument href="./">Programs</parentdocument>
<title>htpasswd - basic authentication�� ����� �����������
���Ѵ�</title>
<summary>
<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>
</summary>
<seealso><a href="httpd.html">httpd</a></seealso>
<seealso>���������� SHA1�� �����ϴ� ��ũ��Ʈ�� �ִ�.</seealso>
<section id="synopsis"><title>����</title>
<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>
</section>
<section id="options"><title>�ɼ�</title>
<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>
</section>
<section id="exit"><title>�����ڵ�</title>
<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>
</section>
<section id="examples"><title>����</title>
<example>
htpasswd /usr/local/etc/apache/.htpasswd-users jsmith
</example>
<p>����� <code>jsmith</code>�� ��ȣ�� �߰��ϰų� �����Ѵ�.
����ڿ��� ��ȣ�� �����. Windows �ý��ۿ��� �����ϸ�
��ȣ�� ����ġ Ư���� MD5 �˰?���� ����Ͽ� ��ȣȭ�ϰ�,
�ƴϸ� �ý����� <code>crypt()</code> �Լ��� ����Ѵ�. ������
��ٸ� <code>htpasswd</code>�� �ƹ� �ϵ� �����ʰ� ����
����.</p>
<example>
htpasswd -c /home/doe/public_html/.htpasswd jane
</example>
<p>���� ������ ����� �� ���Ͽ� ����� <code>jane</code>��
�߰��Ѵ�. ����ڿ��� ��ȣ�� �����. ������ ������ �аų�
�� �� ��ٸ�, <code>htpasswd</code>�� ������ ���������ʰ�
������ ������� ������¸� ��ȯ�Ѵ�.</p>
<example>
htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve
</example>
<p>������� ��ȣ(<code>Pwd4Steve</code>)�� MD5 �˰?������
��ȣȭ�Ͽ� ������ ���Ͽ� �����Ѵ�.</p>
</section>
<section id="security"><title>���Ȼ� ����� ��</title>
<p><code>htpasswd</code> ���� ���ϴ� �� ��ȣ������ ��������
URI �� ������ <em>�ȵȴ�</em>. ��, ������ �� ������
�� �� ���� �Ѵ�.</p>
<p>����࿡ ��ȣȭ�������� ��ȣ�� ����ϱ⶧���� <code>-b</code>
�ɼ��� ��õ���� �ʴ´�.</p>
</section>
<section id="restrictions"><title>����</title>
<p>Windows�� MPE �÷����� <code>htpasswd</code>�� ��ȣȭ�ϴ�
��ȣ�� ���̸� <code>255</code> ���ڷ� �����Ѵ�. �� �� ��ȣ��
255�ڿ��� ©����.</p>
<p><code>htpasswd</code>�� ����ϴ� MD5 �˰?���� ����ġ
����Ʈ���� Ư���� ���̴�. �̸� ����Ͽ� ��ȣȭ�� ��ȣ��
�ٸ� ���������� ����� �� ���.</p>
<p>����ڸ��� <code>255</code> ����Ʈ�� ���ѵǰ� <code>:</code>
���ڸ� ������ �� ���.</p>
</section>
</manualpage>