# HG changeset patch # User Matthias Förste # Date 1310730890 -7200 # Node ID 18aaf612a61e6fddcc7cc601c69d1e60e4c9198a # Parent f664783b41606eb2a5aa4253537fabc7afe7493e pod cosmetics diff -r f664783b4160 -r 18aaf612a61e lib/Ius/Dav/Htpasswd.pm --- a/lib/Ius/Dav/Htpasswd.pm Fri Jul 15 13:47:13 2011 +0200 +++ b/lib/Ius/Dav/Htpasswd.pm Fri Jul 15 13:54:50 2011 +0200 @@ -207,52 +207,51 @@ =head1 NAME -dav-useradd +ius-dav-useradd -dav-useradd.cgi +ius-dav-useradd.cgi -dav-userdel +ius-dav-userdel -dav-userexpiry +ius-dav-userexpiry Ius::Dav::Htpasswd - Add dav users to htpasswd and remove them after expiration. =head1 SYNOPSIS -dav-useradd -u|--user user - [-e|--expiry expiry] +ius-dav-useradd + -u|--user user + [-e|--expiry expiry] -dav-userdel -u|--user user +ius-dav-userdel + -u|--user user -dav-userexpiry +ius-dav-userexpiry common options - - -m|--man - -h|--help + [-m|--man] + [-h|--help] =head1 DESCRIPTION -=head2 dav-useradd +=head2 ius-dav-useradd Make a directory for the user. Chown that directory to the webserver user and group. Add the user to an htpasswd file. Add expiry information to that htpasswd file. Place a config snippet for the users directory inside a -directory (which is included from the apache config). Reload apache (or maybe -restart is required). +directory (which is included from the apache config). Reload apache. + +=head2 ius-dav-useradd.cgi -=head2 dav-useradd.cgi +Is supposed to do the same as ius-dav-useradd. -Is supposed to do the same as dav-useradd. - -=head2 dav-userdel +=head2 ius-dav-userdel Removes the directory of the user. Removes the user from the htpasswd file. -Removes the config snippet for the users directory. Reload apache (or maybe -restart is required). +Removes the config snippet for the users directory. Reload apache. -=head2 dav-userexpiry +=head2 ius-dav-userexpiry Check the htpasswd file and run deletion for any expired users found.