diff options
Diffstat (limited to '')
-rw-r--r-- | docs/manual/programs/htpasswd.html | 17 | ||||
-rw-r--r-- | docs/manual/programs/htpasswd.html.en | 299 | ||||
-rw-r--r-- | docs/manual/programs/htpasswd.html.fr.utf8 | 338 | ||||
-rw-r--r-- | docs/manual/programs/htpasswd.html.ko.euc-kr | 247 | ||||
-rw-r--r-- | docs/manual/programs/htpasswd.html.tr.utf8 | 310 |
5 files changed, 1211 insertions, 0 deletions
diff --git a/docs/manual/programs/htpasswd.html b/docs/manual/programs/htpasswd.html new file mode 100644 index 0000000..3d52609 --- /dev/null +++ b/docs/manual/programs/htpasswd.html @@ -0,0 +1,17 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: htpasswd.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 + +URI: htpasswd.html.fr.utf8 +Content-Language: fr +Content-type: text/html; charset=UTF-8 + +URI: htpasswd.html.ko.euc-kr +Content-Language: ko +Content-type: text/html; charset=EUC-KR + +URI: htpasswd.html.tr.utf8 +Content-Language: tr +Content-type: text/html; charset=UTF-8 diff --git a/docs/manual/programs/htpasswd.html.en b/docs/manual/programs/htpasswd.html.en new file mode 100644 index 0000000..6a347b2 --- /dev/null +++ b/docs/manual/programs/htpasswd.html.en @@ -0,0 +1,299 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!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="en" xml:lang="en"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>htpasswd - Manage user files for basic authentication - Apache HTTP Server Version 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p> +<p class="apache">Apache HTTP Server Version 2.4</p> +<img alt="" src="../images/feather.png" /></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.4</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - Manage user files for basic authentication</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="../en/programs/htpasswd.html" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p><code>htpasswd</code> is used to create and update the flat-files used to + store usernames and password for basic authentication of HTTP users. If + <code>htpasswd</code> cannot access a file, such as not being able to write + to the output file or not being able to read the file in order to update it, + it returns an error status and makes no changes.</p> + + <p>Resources available from the Apache HTTP server can be restricted to + just the users listed in the files created by <code>htpasswd</code>. This + program can only manage usernames and passwords stored in a flat-file. It + can encrypt and display password information for use in other types of data + stores, though. To use a DBM database see <code class="program"><a href="../programs/dbmmanage.html">dbmmanage</a></code> or + <code class="program"><a href="../programs/htdbm.html">htdbm</a></code>.</p> + + <p><code>htpasswd</code> encrypts passwords using either bcrypt, + a version of MD5 modified for Apache, SHA1, or the system's + <code>crypt()</code> routine. Files + managed by <code>htpasswd</code> may contain a mixture of different encoding + types of passwords; some + user records may have bcrypt or MD5-encrypted passwords while others in the + same file may have passwords encrypted with <code>crypt()</code>.</p> + + <p>This manual page only lists the command line arguments. For details of + the directives necessary to configure user authentication in + <code class="program"><a href="../programs/httpd.html">httpd</a></code> see the Apache manual, which is part of the + Apache distribution or can be found at <a href="http://httpd.apache.org">http://httpd.apache.org/</a>.</p> +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#exit">Exit Status</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#security">Security Considerations</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#restrictions">Restrictions</a></li> +</ul><h3>See also</h3><ul class="seealso"><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><code class="program"><a href="../programs/htdbm.html">htdbm</a></code></li><li>The scripts in support/SHA1 which come with the +distribution.</li><li><a href="#comments_section">Comments</a></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">Synopsis</a></h2> + <p><code><strong>htpasswd</strong> + [ -<strong>c</strong> ] + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>passwdfile</var> <var>username</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>b</strong> + [ -<strong>c</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>passwdfile</var> <var>username</var> + <var>password</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>n</strong> + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] <var>username</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>nb</strong> + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] <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">Options</a></h2> + <dl> + <dt><code>-b</code></dt> + <dd>Use batch mode; <em>i.e.</em>, get the password from the command line + rather than prompting for it. This option should be used with extreme care, + since <strong>the password is clearly visible</strong> on the command + line. For script use see the <code>-i</code> option. + Available in 2.4.4 and later.</dd> + + <dt><code>-i</code></dt> + <dd>Read the password from stdin without verification (for script usage).</dd> + + <dt><code>-c</code></dt> + <dd>Create the <var>passwdfile</var>. If <var>passwdfile</var> already + exists, it is rewritten and truncated. This option cannot be combined with + the <code>-n</code> option.</dd> + + <dt><code>-n</code></dt> + <dd>Display the results on standard output rather than updating a file. + This is useful for generating password records acceptable to Apache for + inclusion in non-text data stores. This option changes the syntax of the + command line, since the <var>passwdfile</var> argument (usually the first + one) is omitted. It cannot be combined with the <code>-c</code> option.</dd> + + <dt><code>-m</code></dt> + <dd>Use MD5 encryption for passwords. This is the default (since version + 2.2.18).</dd> + + <dt><code>-B</code></dt> + <dd>Use bcrypt encryption for passwords. This is currently considered to + be very secure.</dd> + + <dt><code>-C</code></dt> + <dd>This flag is only allowed in combination with <code>-B</code> (bcrypt + encryption). It sets the computing time used for the bcrypt algorithm + (higher is more secure but slower, default: 5, valid: 4 to 31).</dd> + + <dt><code>-d</code></dt> + <dd>Use <code>crypt()</code> encryption for passwords. This is not + supported by the <code class="program"><a href="../programs/httpd.html">httpd</a></code> server on Windows and + Netware. This algorithm limits the password length to 8 characters. + This algorithm is <strong>insecure</strong> by today's standards. + It used to be the default algorithm until version 2.2.17.</dd> + + <dt><code>-s</code></dt> + <dd>Use SHA encryption for passwords. Facilitates migration from/to Netscape + servers using the LDAP Directory Interchange Format (ldif). + This algorithm is <strong>insecure</strong> by today's standards.</dd> + + <dt><code>-p</code></dt> + <dd>Use plaintext passwords. Though <code>htpasswd</code> will support + creation on all platforms, the <code class="program"><a href="../programs/httpd.html">httpd</a></code> daemon will + only accept plain text passwords on Windows and Netware.</dd> + + <dt><code>-D</code></dt> + <dd>Delete user. If the username exists in the specified htpasswd file, it + will be deleted.</dd> + + <dt><code>-v</code></dt> + <dd>Verify password. Verify that the given password matches the password + of the user stored in the specified htpasswd file. + Available in 2.4.5 and later.</dd> + + <dt><code><var>passwdfile</var></code></dt> + <dd>Name of the file to contain the user name and password. If + <code>-c</code> is given, this file is created if it does not already exist, + or rewritten and truncated if it does exist.</dd> + + <dt><code><var>username</var></code></dt> + <dd>The username to create or update in <var>passwdfile</var>. If + <var>username</var> does not exist in this file, an entry is added. If it + does exist, the password is changed.</dd> + + <dt><code><var>password</var></code></dt> + <dd>The plaintext password to be encrypted and stored in the file. Only + used with the <code>-b</code> flag.</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">Exit Status</a></h2> + <p><code>htpasswd</code> returns a zero status ("true") if the username and + password have been successfully added or updated in the + <var>passwdfile</var>. <code>htpasswd</code> returns <code>1</code> if it + encounters some problem accessing files, <code>2</code> if there was a + syntax problem with the command line, <code>3</code> if the password was + entered interactively and the verification entry didn't match, + <code>4</code> if its operation was interrupted, <code>5</code> if a value + is too long (username, filename, password, or final computed record), + <code>6</code> if the username contains illegal characters (see the + <a href="#restrictions">Restrictions section</a>), and <code>7</code> + if the file is not a valid password file.</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">Examples</a></h2> + <div class="example"><p><code> + htpasswd /usr/local/etc/apache/.htpasswd-users jsmith + </code></p></div> + + <p>Adds or modifies the password for user <code>jsmith</code>. The user + is prompted for the password. The password will be encrypted using the + modified Apache MD5 algorithm. If the file does not exist, + <code>htpasswd</code> will do nothing except return an error.</p> + + <div class="example"><p><code> + htpasswd -c /home/doe/public_html/.htpasswd jane + </code></p></div> + + <p>Creates a new file and stores a record in it for user <code>jane</code>. + The user is prompted for the password. If the file exists and cannot be + read, or cannot be written, it is not altered and <code>htpasswd</code> + will display a message and return an error status.</p> + + <div class="example"><p><code> + htpasswd -db /usr/web/.htpasswd-all jones Pwd4Steve + </code></p></div> + + <p>Encrypts the password from the command line (<code>Pwd4Steve</code>) + using the <code>crypt()</code> algorithm, and stores it in the specified + file.</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">Security Considerations</a></h2> + <p>Web password files such as those managed by <code>htpasswd</code> should + <em>not</em> be within the Web server's URI space -- that is, they should + not be fetchable with a browser.</p> + + <p>This program is not safe as a setuid executable. Do <em>not</em> make it + setuid.</p> + + <p>The use of the <code>-b</code> option is discouraged, since when it is + used the unencrypted password appears on the command line.</p> + + <p>When using the <code>crypt()</code> algorithm, note that only the first + 8 characters of the password are used to form the password. If the supplied + password is longer, the extra characters will be silently discarded.</p> + + <p>The SHA encryption format does not use salting: for a given password, + there is only one encrypted representation. The <code>crypt()</code> and + MD5 formats permute the representation by prepending a random salt string, + to make dictionary attacks against the passwords more difficult.</p> + + <p>The SHA and <code>crypt()</code> formats are insecure by today's + standards.</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">Restrictions</a></h2> + <p>On the Windows platform, passwords encrypted with + <code>htpasswd</code> are limited to no more than <code>255</code> + characters in length. Longer passwords will be truncated to 255 + characters.</p> + + <p>The MD5 algorithm used by <code>htpasswd</code> is specific to the Apache + software; passwords encrypted using it will not be usable with other Web + servers.</p> + + <p>Usernames are limited to <code>255</code> bytes and may not include the + character <code>:</code>.</p> +</div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="../en/programs/htpasswd.html" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htpasswd.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 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/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/programs/htpasswd.html.fr.utf8 b/docs/manual/programs/htpasswd.html.fr.utf8 new file mode 100644 index 0000000..0cfe4ba --- /dev/null +++ b/docs/manual/programs/htpasswd.html.fr.utf8 @@ -0,0 +1,338 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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="fr" xml:lang="fr"><head> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>htpasswd - Gestion des fichiers d'utilisateurs pour +l'authentification de base - Serveur HTTP Apache Version 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p> +<p class="apache">Serveur HTTP Apache Version 2.4</p> +<img alt="" src="../images/feather.png" /></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/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">Programmes</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - Gestion des fichiers d'utilisateurs pour +l'authentification de base</h1> +<div class="toplang"> +<p><span>Langues Disponibles: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p><code>htpasswd</code> permet de créer et de maintenir les + fichiers textes où sont stockés les noms d'utilisateurs et mots de + passe pour l'authentification de base des utilisateurs HTTP. Si + <code>htpasswd</code> rencontre un problème d'accès à un fichier, + que ce soit pour écrire dans le fichier de sortie, ou pour lire le + fichier d'entrée dans le but de le mettre à jour, il renvoie un code + d'erreur et n'effectue aucune modification.</p> + + <p>Il est possible de limiter l'accès aux ressources du serveur HTTP + Apache aux seuls utilisateurs présents dans les fichiers créés par + <code>htpasswd</code>. Ce programme ne sait gérer les noms + d'utilisateurs et mots de passe que s'ils sont stockés dans des + fichiers textes. Il peut cependant chiffrer et afficher les mots de + passe à des fins d'utilisation dans d'autres types de bases de + données. Pour utiliser une base de données DBM, voir le programme + <code class="program"><a href="../programs/dbmmanage.html">dbmmanage</a></code> ou <code class="program"><a href="../programs/htdbm.html">htdbm</a></code>.</p> + + <p><code>htpasswd</code> chiffre les mots de passe en utilisant soit + bcrypt, + une version de MD5 modifiée pour Apache, soit SHA1, soit la routine + <code>crypt()</code> du système. Les fichiers gérés par + <code>htpasswd</code> peuvent contenir deux types de mots de passe ; + certaines entrées peuvent contenir des mots de passe chiffrés en + MD5 ou bcrypt, alors que d'autres entrées du même fichier contiendront des + mots de passe chiffrés avec <code>crypt()</code>.</p> + + <p>Cette page de manuel ne décrit que les arguments de la ligne de + commande. Pour plus de détails à propos des directives nécessaires à + la configuration de l'authentification des utilisateurs dans + <code class="program"><a href="../programs/httpd.html">httpd</a></code>, voir le manuel Apache qui est fourni avec + la distribution ou peut être consulté à <a href="http://httpd.apache.org">http://httpd.apache.org/</a>.</p> +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Syntaxe</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#exit">Valeur renvoyée</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#examples">Exemples</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#security">Considérations à propos de sécurité</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#restrictions">Restrictions</a></li> +</ul><h3>Voir aussi</h3><ul class="seealso"><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><code class="program"><a href="../programs/htdbm.html">htdbm</a></code></li><li>Les scripts fournis avec la distibution d'Apache et situés dans +support/SHA1.</li><li><a href="#comments_section">Commentaires</a></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">Syntaxe</a></h2> + <p><code><strong>htpasswd</strong> + [ -<strong>c</strong> ] + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>fichier-mots-de-passe</var> <var>nom-utilisateur</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>b</strong> + [ -<strong>c</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>fichier-mots-de-passe</var> <var>nom-utilisateur</var> + <var>mot-de-passe</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>n</strong> + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] <var>nom-utilisateur</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>nb</strong> + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>cost</var> ] <var>nom-utilisateur</var> + <var>mot-de-passe</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">Options</a></h2> + <dl> + <dt><code>-b</code></dt> + <dd>Utilise le mode batch ; c'est à dire, extrait le mot de passe de + la ligne de commande au lieu de le demander à l'opérateur. Cette + option doit être utilisée avec la plus grande prudence, car + <strong>le mot de passe est visible en clair</strong> dans la ligne + de commande. Pour utiliser un script, voir l'option + <code>-i</code>. + Disponible à partir de la version 2.4.4 du serveur HTTP Apache.</dd> + + <dt><code>-i</code></dt> + <dd>Lit le mot de passe depuis stdin sans vérification (à utiliser + dans les scripts).</dd> + + <dt><code>-c</code></dt> + <dd>Crée le <var>fichier-mots-de-passe</var>. Si + <var>fichier-mots-de-passe</var> existe déjà , il est réécrit et + tronqué. Cette option ne peut pas être combinée avec l'option + <code>-n</code>.</dd> + + <dt><code>-n</code></dt> + <dd>Affiche le résultat du traitement sur la sortie standard au lieu + de mettre à jour le fichier. Ceci peut s'avérer utile pour générer + des enregistrements de mots de passe qu'Apache pourra utiliser à des + fins d'inclusion dans des fichiers de données au format autre que + texte. Cette option modifie la syntaxe de la ligne de commande, car + l'argument <var>fichier-mots-de-passe</var> (en général le premier) + est omis. Elle ne peut pas être combinée avec l'option + <code>-c</code> option.</dd> + + <dt><code>-m</code></dt> + <dd>Utilise le chiffrement MD5 pour les mots de passe. C'est le + comportement par défaut (depuis la version 2.2.18).</dd> + + <dt><code>-B</code></dt> + <dd>Utilise bcrypt pour chiffrer les mots de passe. c'est un + algorythme de chiffrement actuellement considéré comme sûr.</dd> + + <dt><code>-C</code></dt> + <dd>Ce drapeau n'est autorisé qu'en conjonction avec le drapeau + <code>-B</code> (chiffrement bcrypt). Il permet de définir la durée + de traitement pour l'algorytme bcrypt (plus elle est longue, + meilleure sera la sécurité, mais inférieure la rapidité). La valeur + par défaut est 5 et les valeurs autorisées vont de 4 à 31.</dd> + + + <dt><code>-d</code></dt> + <dd>Utilise le chiffrement <code>crypt()</code> pour les mots de + passe. Cette option n'est pas supportée par le + serveur <code class="program"><a href="../programs/httpd.html">httpd</a></code> sous Windows ou Netware. Cet + algorithme limite la longueur des mots de passe à 8 caractères ; il + est considéré comme <strong>non sur</strong> du point de vue des + standards actuels. C'était l'algorithme par défaut jusqu'à la + version 2.2.17.</dd> + + <dt><code>-s</code></dt> + <dd>Utilise le chiffrement SHA pour les mots de passe. Facilite la + migration vers/depuis les serveurs Netscape qui utilisent le format + LDAP Directory Interchange (ldif). Cet algorithme + est considéré comme <strong>non sur</strong> du point de vue des + standards actuels.</dd> + + <dt><code>-p</code></dt> + <dd>Enregistre les mots de passe en clair. Bien que + <code>htpasswd</code> supporte la création des mots de passe en + clair sur toutes les plates-formes, le démon + <code class="program"><a href="../programs/httpd.html">httpd</a></code> n'accepte les mots de passe en clair que + sous Windows et Netware.</dd> + + <dt><code>-D</code></dt> + <dd>Supprime un utilisateur, sous réserve qu'il existe dans le + fichier spécifié par htpasswd.</dd> + + <dt><code>-v</code></dt> + <dd>Vérifie si le mot de passe fourni correspond au mot de passe de + l'utilisateur enregistré dans le fichier de mots de passe spécifié. + Disponible à partir de la version 2.4.5 du serveur HTTP Apache.</dd> + + <dt><code><var>fichier-mots-de-passe</var></code></dt> + <dd>Le nom du fichier contenant les noms d'utilisateurs et mots de + passe. Avec l'option <code>-c</code>, le fichier est créé s'il + n'existe pas, ou réécrit et tronqué s'il existe déjà .</dd> + + <dt><code><var>nom-utilisateur</var></code></dt> + <dd>Le nom d'utilisateur à créer ou mettre à jour dans le + <var>fichier-mots-de-passe</var>. Si <var>nom-utilisateur</var> + n'existe pas, une nouvelle entrée est ajoutée. Dans le cas + contraire, le mot de passe est modifié.</dd> + + <dt><code><var>mot-de-passe</var></code></dt> + <dd>Le mot de passe en clair et destiné à être chiffré puis stocké + dans le fichier. Cet argument ne s'utilise qu'avec l'option + <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">Valeur renvoyée</a></h2> + <p><code>htpasswd</code> renvoie 0 ("true") si le nom d'utilisateur + et le mot de passe ont été enregistrés ou mis à jour avec succès + dans le <var>fichier-mots-de-passe</var>. <code>htpasswd</code> + renvoie <code>1</code> s'il a rencontré un problème d'accès aux + fichiers, <code>2</code> si la ligne de commande comportait une + erreur de syntaxe, <code>3</code> si le mot de passe entré + interactivement ne correspondait pas au nom d'utilisateur, + <code>4</code> si l'opération a été interrompue, <code>5</code> si + une valeur était trop longue (nom-utilisateur, nom-fichier, + mot-de-passe, ou l'enregistrement résultant), <code>6</code> si le + nom d'utilisateur contenait des caractères illégaux (voir la section + <a href="#restrictions">Restrictions</a>), et <code>7</code> si le + fichier spécifié n'était pas un fichier de mots de passe + valide.</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">Exemples</a></h2> + <div class="example"><p><code> + htpasswd /usr/local/etc/apache/.utilisateurs-htpasswd jsmith + </code></p></div> + + <p>Ajoute ou modifie le mot de passe de l'utilisateur + <code>jsmith</code>. Le mot de passe est demandé à l'opérateur. Le + mot de passe sera chiffré en utilisant l'algorithme MD5 + modifié pour Apache. Si le fichier spécifié + n'existe pas, <code>htpasswd</code> renverra un code d'erreur.</p> + + <div class="example"><p><code> + htpasswd -c /home/doe/public_html/.htpasswd jane + </code></p></div> + + <p>Crée un nouveau fichier de mots de passe et y enregistre une + entrée pour l'utilisateur <code>jane</code>. Le mot de passe est + demandé à l'opérateur. Si le fichier existe et ne peut être ni lu ni + écrit, il n'est pas modifié et <code>htpasswd</code> affichera un + message et renverra un code d'erreur.</p> + + <div class="example"><p><code> + htpasswd -db /usr/web/.htpasswd-tous jones Pwd4Steve + </code></p></div> + + <p>Chiffre le mot de passe spécifié dans la ligne de commande + (<code>Pwd4Steve</code>) en utilisant l'algorithme + <code>crypt()</code>, et le stocke dans le fichier spécifié.</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">Considérations à propos de sécurité</a></h2> + <p>Les fichiers de mots de passe Web comme ceux que gère + <code>htpasswd</code> ne doivent <em>pas</em> être situés dans + l'espace d'URI du serveur Web -- en d'autres termes, il ne doit pas + être possible d'y accéder à partir d'un navigateur.</p> + + <p>En tant qu'exécutable setuid, ce programme n'est pas sûr, et il + ne faut par conséquent <em>pas</em> lui attribuer de permissions + setuid.</p> + + <p>L'utilisation de l'option <code>-b</code> est déconseillée, car + avec elle, les mots de passe apparaissent en clair dans la ligne de + commande.</p> + + <p>Notez qu'avec l'algorithme <code>crypt()</code>, seuls les huit + premiers caractères du mot de passe spécifié sont pris en compte. Si + le mot de passe spécifié est plus long, les caractères + supplémentaires sont ignorés.</p> + + <p>Le format de chiffrement SHA n'utilise pas d'amorçage aléatoire + (salting) : à un mot de passe donné correspond une seule + représentation chiffrée. Les formats <code>crypt()</code> et MD5 + permutent la représentation en la préfixant par une chaîne d'amorce + aléatoire, afin de rendre les attaques de mots de passe à base de + dictionnaires plus difficiles.</p> + + <p>Les algorithmes de chiffrement SHA et <code>crypt()</code> + sont considérés comme <strong>non surs</strong> du point de vue des + standards actuels.</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">Restrictions</a></h2> + <p>Sur les plates-formes Windows, la taille des mots de passe + chiffrés avec <code>htpasswd</code> est limitée à <code>255</code> + caractères. Les mots de passe dont la taille est supérieure seront + tronqués.</p> + + <p>L'algorithme MD5 utilisé par <code>htpasswd</code> est spécifique + à Apache ; les mots de passe chiffrés en utilisant cet algorithme + seront inutilisables sur d'autres serveurs Web.</p> + + <p>La taille des noms d'utilisateurs est limitée à <code>255</code> + octets et ceux-ci ne doivent pas contenir de caractère + <code>:</code>.</p> +</div></div> +<div class="bottomlang"> +<p><span>Langues Disponibles: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htpasswd.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/programs/htpasswd.html.ko.euc-kr b/docs/manual/programs/htpasswd.html.ko.euc-kr new file mode 100644 index 0000000..d5a324d --- /dev/null +++ b/docs/manual/programs/htpasswd.html.ko.euc-kr @@ -0,0 +1,247 @@ +<?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> +<meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>htpasswd - basic authentication¿¡ »ç¿ëÇÒ »ç¿ëÀÚÆÄÀÏÀ» + °ü¸®ÇÑ´Ù - Apache HTTP Server Version 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p> +<p class="apache">Apache HTTP Server Version 2.4</p> +<img alt="" src="../images/feather.png" /></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.4</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="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </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"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><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><li><a href="#comments_section">Comments</a></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="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htpasswd.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/programs/htpasswd.html.tr.utf8 b/docs/manual/programs/htpasswd.html.tr.utf8 new file mode 100644 index 0000000..ceac0f6 --- /dev/null +++ b/docs/manual/programs/htpasswd.html.tr.utf8 @@ -0,0 +1,310 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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="tr" xml:lang="tr"><head> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>htpasswd - Temel kimlik doğrulama dosyalarını yönetir - Apache HTTP Sunucusu Sürüm 2.4</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="../mod/">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p> +<p class="apache">Apache HTTP Sunucusu Sürüm 2.4</p> +<img alt="" src="../images/feather.png" /></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 Sunucusu</a> > <a href="http://httpd.apache.org/docs/">Belgeleme</a> > <a href="../">Sürüm 2.4</a> > <a href="./">Programlar</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - Temel kimlik doğrulama dosyalarını yönetir</h1> +<div class="toplang"> +<p><span>Mevcut Diller: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" title="Türkçe"> tr </a></p> +</div> + + <p><code><strong>htpasswd</strong></code>, HTTP kullanıcılarının temel + kimlik doğrulaması için kullanıcı isimlerinin ve parolalarının + saklanmasında kullanılacak düz metin dosyalarını oluşturmak ve güncellemek + için kullanılır. <code><strong>htpasswd</strong></code>, güncelleme + sırasında yazmak veya okumak için bir dosyaya erişemezse beklenen hiçbir + işlemi yapmaz ve hata vererek çıkar.</p> + + <p>Apache HTTP sunucusunun mevcut özkaynaklarının kullanımı + sadece <code><strong>htpasswd</strong></code> tarafından oluşturulan + dosyalarda listelenmiş kullanıcılara tahsis edilebilir. + <code><strong>htpasswd</strong></code> sadece düz metin dosyalarda + saklanmış kullanıcı isimlerini ve parolalarını yönetirse de, diğer veri + saklama türleri için parolayı şifreleyip gösterebilir. Bir DBM veritabanı + kullanmak isterseniz <strong><code class="program"><a href="../programs/dbmmanage.html">dbmmanage</a></code></strong> ve + <strong><code class="program"><a href="../programs/htdbm.html">htdbm</a></code></strong> sayfasına bakınız.</p> + + <p><code><strong>htpasswd</strong></code>, parolaları şifrelemek için + bcrypt, Apache'nin kendine özgü MD5 algoritması, SHA1 ya da sistemin + <code>crypt()</code> yordamını kullanır. Bu bakımdan + <code><strong>htpasswd</strong></code> tarafından yönetilen dosyalar farklı + algoritmalarla şifrelenmiş parolalar içerebilir.</p> + + <p>Bu kılavuz sayfası sadece komut satırı değiştirgelerini listeler. + Kullanıcı kimlik doğrulamasını + <strong><code class="program"><a href="../programs/httpd.html">httpd</a></code></strong>'de yapılandırmak için gerekli + yönergelerle ilgili ayrıntılar için Apache dağıtımının bir parçası olan + ve <a href="http://httpd.apache.org/"> http://httpd.apache.org/</a> + adresinde de bulunan Apache HTTP Sunucusu Belgelerine bakınız.</p> +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Kullanım</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#options">Seçenekler</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#exit">Çıkış Durumu</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#examples">Örnekler</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#security">Güvenlik Değerlendirmeleri</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#restrictions">Kısıtlamalar</a></li> +</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><code class="program"><a href="../programs/htdbm.html">htdbm</a></code></li><li>Kaynak paketinin support/SHA1 dizinindeki betikler.</li><li><a href="#comments_section">Yorum</a></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">Kullanım</a></h2> + <p><code><strong>htpasswd</strong> + [ -<strong>c</strong> ] + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>bedel</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>parola-dosyası</var> <var>kullanıcı</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>b</strong> + [ -<strong>c</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>bedel</var> ] + [ -<strong>D</strong> ] + [ -<strong>v</strong> ] <var>parola-dosyası</var> <var>kullanıcı</var> + <var>parola</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>n</strong> + [ -<strong>i</strong> ] + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>bedel</var> ] <var>kullanıcı</var></code></p> + + <p><code><strong>htpasswd</strong> -<strong>nb</strong> + [ -<strong>m</strong> | + -<strong>B</strong> | + -<strong>d</strong> | + -<strong>s</strong> | + -<strong>p</strong> ] + [ -<strong>C</strong> <var>bedel</var> ] <var>kullanıcı</var> + <var>parola</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">Seçenekler</a></h2> + <dl> + <dt><code><strong>-b</strong></code></dt> + <dd>Betik kipi; parola için istek yapmak yerine parola komut satırından + verilir. <strong>Parola komut satırında görünür</strong> olacağından çok + dikkatli kullanmak gerekir. Betik kullanımı için + <code><strong>-i</strong></code> seçeneğine bakınız. + 2.4.4 ve sonraki sürümler içindir.</dd> + + <dt><code><strong>-i</strong></code></dt> + <dd>Parolayı doğrulamaksızın standart girdiden okur (betik kullanımı + için).</dd> + + <dt><code><strong>-c</strong></code></dt> + <dd><code><var>parola-dosyası</var></code> oluşturur. Dosya mevcutsa, + dosya silinip yeniden yazılır. Bu seçenek + <code><strong>-n</strong></code> seçeneği ile birlikte kullanılamaz.</dd> + + <dt><code><strong>-n</strong></code></dt> + <dd>Sonuçları veritabanında güncellemek yerine standart çıktıya gönderir. + Bu seçenek, Apache'nin metin veriler içermeyen veri depolarına dahil + edilebilecek parolaları üretmekte yararlıdır. + <code><var>parola-dosyası</var></code> belirtilmediğinden, bu seçenek + komut satırı sözdizimini değiştirir. Bu seçenek + <code><strong>-c</strong></code> seçeneği ile birlikte kullanılamaz.</dd> + + <dt><code><strong>-m</strong></code></dt> + <dd>Parolalar için MD5 şifrelemesi kullanılır. + Bu 2.2.18 sürümünden beri öntanımlıdır.</dd> + + <dt><code><strong>-B</strong></code></dt> + <dd>Parolalar için bcrypt şifrelemesi kullanılır. Şu an için çok güvenli + kabul edilmektedir.</dd> + + <dt><code><strong>-C</strong> <var>bedel</var></code></dt> + <dd>Bu seçenek sadece <code><strong>-B</strong></code> (bcrypt şifrelemesi) + seçeneği ile birlikte kullanılabilir. Bcrypt algoritmasına hesaplama + süresini belirtir (daha yüksek değerler daha güvenlidir, öntanımlı 5, + geçerli değerler: 4 - 31).</dd> + + <dt><code><strong>-d</strong></code></dt> + <dd>Parolaları şifrelemek için <code>crypt()</code> kullanılır. + <code><strong>htpasswd</strong></code> tarafından tüm platformlarda + destekleniyor olsa da Windows, Netware ve TPF üzerinde + <code class="program"><a href="../programs/httpd.html">httpd</a></code> sunucusu tarafından desteklenmez. Bu algoritma + günümüz standartlarında <strong>güvenilmez</strong> kabul + edilmektedir. 2.2.17 sürümüne kadar öntanımlı algoritma olarak + kullanılmıştı.</dd> + + <dt><code><strong>-s</strong></code></dt> + <dd>Parolalar için SHA şifrelemesi kullanılır. LDAP Dizin değişim + biçemini (ldif) kullanarak Netscape sunucularına/sunucularından göçü + kolaylaştırır.Bu algoritma günümüz standartlarında + <strong>güvenilmez</strong> kabul edilmektedir.</dd> + + <dt><code><strong>-p</strong></code></dt> + <dd>Düz metin parolalar kullanılır. <code><strong>htpasswd</strong></code> + tarafından tüm platformlarda destekleniyor olsa da Windows, Netware ve + TPF üzerinde <code class="program"><a href="../programs/httpd.html">httpd</a></code> sunucusu tarafından sadece düz + metin parolalar kabul edilir.</dd> + + <dt><code><strong>-D</strong></code></dt> + <dd>Kullanıcıyı siler. Kullanıcı belirtilen dosyada mevcutsa + silinir.</dd> + + <dt><code>-v</code></dt> + <dd>Parolayı doğrular. Verilen parolayı belitilen htpasswd dosyasında + saklanan kullanıcı parolası ile karşılaştırarak doğrulama yapar. + 2.4.5 ve sonraki sürümler içindir.</dd> + + <dt><code><var>parola-dosyası</var></code></dt> + <dd>Kullanıcı ismini ve parolasını içeren dosyanın ismi. + <code><strong>-c</strong></code> seçeneği verilmişse ve dosya mevcut + değilse oluşturulur, dosya mevcutsa silinip yeniden oluşturulur.</dd> + + <dt><code><var>kullanıcı</var></code></dt> + <dd><code><var>parola-dosyası</var></code>'nda oluşturulacak veya + güncellenecek kullanıcı ismi. <code><var>kullanıcı</var></code> bu + dosyada mevcut değilse yeni bir girdi eklenir. Girdi mevcutsa parolası + değiştirilir.</dd> + + <dt><code><var>parola</var></code></dt> + <dd>Şifrelenip dosyada saklanacak düz metin parola. Sadece + <code><strong>-b</strong></code> seçeneği ile kullanılır.</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">Çıkış Durumu</a></h2> + <p><code><strong>htpasswd</strong></code>, kullanıcı ismi ve parolasını DBM + dosyasına başarıyla eklemiş veya güncellemişse <code>0</code>, dosyalara + erişirken bir sorun çıkmışsa <code>1</code>, komut satırında bir + sözdizimi hatası varsa <code>2</code>, parola etkileşimli alınmış fakat + girdi ile eşleşme sağlanamamışsa <code>3</code>, işlem kesintiye + uğramışsa <code>4</code>, bir değer çok uzunsa <code>5</code> (kullanıcı, + parola, dosya ismi veya açıklama), kullanıcı ismi kuraldışı karakter + içeriyorsa (<a href="#restrictions">Kısıtlamalar</a> bölümüne bakınız) + <code>6</code> ve dosya geçerli bir DBM parola dosyası değilse + <code>7</code> değeriyle döner.</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">Örnekler</a></h2> + <div class="example"><p><code> + htpasswd /usr/local/etc/apache/.htpasswd-users jsmith + </code></p></div> + + <p><code>jsmith</code> kullanıcısı için parolayı ekler veya değiştirir. + Parolayı vermesi için kullanıcıya parola isteği yapılır. + Parola takviyeli Apache MD5 algoritması ile şifrelenir. Dosya mevcut + değilse <code><strong>htpasswd</strong></code> beklenen hiçbir işlemi + yapmadan bir hata vererek çıkar.</p> + + <div class="example"><p><code> + htpasswd -c /home/doe/public_html/.htpasswd jane + </code></p></div> + + <p>Yeni bir dosya oluşturur ve kullanıcı <code>jane</code> için kaydı bir + girdi olarak bu dosyaya yazar. Dosya mevcutsa fakat okunamıyor veya + yazılamıyorsa dosyada bir değişiklik yapılmaz ve + <code><strong>htpasswd</strong></code> bir ileti gösterip bir hata durumu + ile çıkar.</p> + + <div class="example"><p><code> + htpasswd -db /usr/web/.htpasswd-all jones Pwd4Steve + </code></p></div> + + <p>Komut satırından verilen parolayı (<code>Pwd4Steve</code>) <code>crypt()</code> + algoritmasıyla şifreler ve bunu belirtilen dosyada saklar.</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">Güvenlik Değerlendirmeleri</a></h2> + <p><code><strong>htpasswd</strong></code> tarafından yönetilen parola + dosyalarına sunucunun URI uzayından erişilememelidir; yani dosya bir + tarayıcı ile okunabilecek bir yerde bulunmamalıdır.</p> + + <p>Bu program bir setuid çalıştırılabiliri olarak güvenilir olmadığından + <em>setuid yapılmamalıdır</em>.</p> + + <p>Komut satırında parolanın şifrelenmemiş olarak görünmesi sebebiyle + <code><strong>-b</strong></code> seçeneğinin kullanımından kaçınılmasını + öneriyoruz.</p> + + <p><code>crypt()</code> algoritması kullanılırken, parolayı + şekillendirmek için parolanın ilk 8 baytının kullanılacağına dikkat + ediniz. Eğer parola 8 bayttan uzunsa kalanlar bir uyarı verilmeksizin + iptal edilir.</p> + + <p>SHA şifreleme biçeminde tuz kullanılmaz; yani, bir parolanın + sadece bir şifreli gösterimi olabilir. <code>crypt()</code> ve + MD5 biçemleri parolanın önüne rasgele üretilmiş bir tuz dizgesi + eklediklerinden sözlük saldırılarına karşı daha dayanıklıdırlar.</p> + + <p>SHA ve <code>crypt()</code> biçimleri günümüz standartlarında + <strong>güvenilmez</strong> kabul edilmektedir.</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">Kısıtlamalar</a></h2> + <p>Windows platformuda, <code><strong>htpasswd</strong></code> + ile şifrelenen parolalar <code>255</code> karakterden daha uzun olamaz. + 255 karakterden sonrası kırpılır.</p> + + <p><code><strong>htpasswd</strong></code> tarafından kullanılan MD5 + algoritması Apache yazılımına özeldir; bu algoritma ile şifrelenen + parolalar başka HTTP sunucularında kullanılamayabilir.</p> + + <p>Kullanıcı isimleri <code>255</code> bayttan uzun olamaz ve iki nokta + imi (<code>:</code>) içeremez.</p> +</div></div> +<div class="bottomlang"> +<p><span>Mevcut Diller: </span><a href="../en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="../ko/programs/htpasswd.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/htpasswd.html" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Yorum</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htpasswd.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p> +<p class="menu"><a href="../mod/">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file |