NAME

authen-paas-passwd   Create/update password file entries

SYNOPSIS

authen-paas-passwd [OPTIONS] PASSWD-FILE USERNAME

Options:

   --create   create password file if not existing
   --md5      force use of md5 passwords
   --sha1     force use of sha1 passwords
   --help     show this help messages

DESCRIPTION

Similar to traditional Apache htpasswd(1) command, this provides a tool for creating / updating user's password entries in the configuration file format used by Authen::PAAS::BasicLoginModule

NB, the SHA1 password hashing is only available on a few systems, notably not most Linux systems.

EXAMPLES

# Update joeblogs
$ authen-paas-passwd /etc/authen-paas-passwd.cfg joeblogs

# Update joeblogs, creating the password file if
# it does not already exist
$ authen-paas-passwd --create /etc/authen-paas-passwd.cfg joeblogs

# Update joe blogs, using md5 crypt
$ authen-paas-passwd --md5 /etc/authen-paas-passwd.cfg joeblogs

COPYRIGHT

Daniel P. Berrange dan@berrange.com

BUGS

Probably - please report them!

SEE ALSO

passwd(1), htpasswd(1), Authen::PAAS