Support user removal
commit70758769356cc99ba0121f530b77a7c06920c5b4
authorKyle J. McKay <mackyle@gmail.com>
Fri, 5 Jul 2013 09:56:52 +0000 (5 02:56 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 8 Jul 2013 09:42:43 +0000 (8 02:42 -0700)
tree501ae7e55650a5a9558abba6ea5d19e8109cf488
parentc11c7de25fbfd4bd57983abffeff59cf70cb4772
Support user removal

User.pm now supports a remove function that removes the
user from all the user's groups and then from the passwd
file itself.

Additionally, User.pm can store an authentication type
when generating an authentication code so that an authentication
generated for removing a user cannot be used to update a user
and vice versa.

edituser.cgi now recognizes only the correct authentication
type when updating a user.

A web interface to the delete user functionality is not
provided with these changes.
Girocco/User.pm
cgi/edituser.cgi