From: Yngve Svendsen <yngve.svendsen@clustra.com>
To: Milan Zamazal <pdm@zamazal.org>
Cc: gnats-devel@sources.redhat.com
Subject: GNATS password management
Date: Tue, 26 Jun 2001 10:51:00 -0000 [thread overview]
Message-ID: <5.1.0.14.2.20010626194604.04dcd278@mail.trd.clustra.com> (raw)
Below is an outline of the two password-management tools I'd like to see
implemented for GNATS 4. gnats-pwconv is intended for upgraders from
version 3 to version 4, while gnats-pw partially mimics the functionality
of Apache's htpasswd tool.
What do you all think?
Yngve Svendsen
gnats-pwconv
gnats-pwconv [-mp] infile outfile
gnats-pwconv -n[mp] infile
Converts the plaintext passwords in the GNATS 3 password file infile and
writes the resulting complete version 4 password file to outfile.
Infile=outfile should be disallowed.
-m, --md5 Use MD5 encryption, i.e. convert passwords to MD5 and add $1$ prefix
-n, --nocreate Don't create file; display results on stdout.
-d, --crypt Force CRYPT encryption of the passwords (default).
-p, --plaintext Do not encrypt the passwords (plaintext). Prefixes existing
passwords with $0$
-t, --test Tests which encryption methods are supported by the system
-h --help
-V --version
gnats-pw
gnats-pw [-cmdps] passwordfile username accesslevel
gnats-pw -n[mdps] username accesslevel
Prompts for a password (twice), then inserts or edits the corresponding
entry in the specified passwordfile. If the -n option is given, the
resulting passwordfile entry is written to stdout instead.
-c, --create Create a new file.
-n, --noupdate Don't update file; display results on stdout.
-m, --md5 Force MD5 encryption of the password, i.e. convert the password
to MD5 and add $1$ prefix
-d, --crypt Force CRYPT encryption of the password (default).
-p, --plaintext Do not encrypt the password (plaintext). Prefixes the
entered password with $0$
-h, --help
-V, --version
next reply other threads:[~2001-06-26 10:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-26 10:51 Yngve Svendsen [this message]
2001-06-27 14:45 ` Milan Zamazal
2001-06-27 14:52 ` Yngve Svendsen
2001-06-29 1:45 ` Milan Zamazal
2001-06-29 1:48 ` Yngve Svendsen
2001-06-30 11:27 ` Milan Zamazal
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=5.1.0.14.2.20010626194604.04dcd278@mail.trd.clustra.com \
--to=yngve.svendsen@clustra.com \
--cc=gnats-devel@sources.redhat.com \
--cc=pdm@zamazal.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).