From: Maxim Ivanov <ivanov@amos.ru>
To: community@altlinux.ru
Subject: Re: [Comm] squid: ncsa_auth users
Date: Wed, 17 Sep 2003 10:25:18 +0400
Message-ID: <20030917102518.53f4909e.ivanov@amos.ru> (raw)
In-Reply-To: <000601c37c78$8f85b490$030010ac@malyuta>
On Tue, 16 Sep 2003 21:32:54 +0400
"Flach" <flach@mcnet.ru> wrote:
> Здравствуйте!
>
> У меня установлен squid. Есть ncsa_auth. В squid.conf для него
> прописаны необходимые строки. Вопрос в другом: как создать необходимый
> список пользователей, т.е. как их заводить?
>
htpasswd [-cmdps] passwordfile username
Опции можно посмотреть по команде htpasswd из-под рута.
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password.
-d Force CRYPT encryption of the password (default).
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for
it.
например: htpasswd -с /usr/etc/my_password flach
после этого он дважды запросит пароль, создаст файл и запишет в него
юзера и пароль. Пароль можно вводить и в открытую в командной строке
(удобно для скриптов).
prev parent reply other threads:[~2003-09-17 6:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-16 17:32 Flach
2003-09-17 6:13 ` [Comm] " Vitaly Ostanin
2003-09-17 6:25 ` Maxim Ivanov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030917102518.53f4909e.ivanov@amos.ru \
--to=ivanov@amos.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git