[et-mgmt-tools] webui patch to switch to Apache digest (or basic or whatever) auth

Al Tobey tobert at gmail.com
Fri Oct 26 20:39:19 UTC 2007


This patch removes the pass-through authentication and related forms
in favor of using Apache's digest auth (by default).    This makes it
trivial for people to replace the default in their Apache
configuration with mod_auth_ldap, mod_auth_pam, or whatever.  It is
generated against the latest git, but may apply to 0.6.2 with a little
manual fudging.

The default username/password in .htaccess is "cobbler/ILoveCobbler".
Obviously, you will want to change this.   A default was deemed safe
to include because the webui is disabled by default.

New users can be added using the htdigest command.
htdigest /var/www/cgi-bin/cobbler/.htaccess "Cobbler WebUI
Authentication" $username

Switching to other auth modules is left as an exercise to the user for
now, but submissions to the wiki for various modules will be welcomed
after 0.6.3 is released.

-Al
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Switch-auth-from-pass-through-to-Apache-digest-auth.patch
Type: text/x-patch
Size: 30520 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071026/35d30654/attachment.bin>


More information about the et-mgmt-tools mailing list