public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* GNATS password management
@ 2001-06-26 10:51 Yngve Svendsen
  2001-06-27 14:45 ` Milan Zamazal
  0 siblings, 1 reply; 6+ messages in thread
From: Yngve Svendsen @ 2001-06-26 10:51 UTC (permalink / raw)
  To: Milan Zamazal; +Cc: gnats-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-06-30 11:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-26 10:51 GNATS password management Yngve Svendsen
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

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).