This is the mail archive of the
gnats-devel@sources.redhat.com
mailing list for the GNATS project.
GNATS password management
- To: Milan Zamazal <pdm at zamazal dot org>
- Subject: GNATS password management
- From: Yngve Svendsen <yngve dot svendsen at clustra dot com>
- Date: Tue, 26 Jun 2001 19:48:42 +0200
- Cc: gnats-devel at sources dot redhat dot com
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