help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNATS password management


From: Yngve Svendsen
Subject: GNATS password management
Date: Tue, 26 Jun 2001 19:48:42 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]