[PATCH conductor+configure 0/2] Yet another take on admin

Steve Linabery slinaber at redhat.com
Thu Jun 21 16:53:09 UTC 2012


On Wed, Jun 20, 2012 at 06:09:49PM -0400, John Eckersberg wrote:
> These patches move creation of the default admin user from configure
> into conductor via db seeds.  The problem with doing it in configure
> is ensuring that the admin user doesn't get recreated on multiple
> invocations.  If the user modifies the user (say, change username from
> 'admin' to 'root') then configure will note that admin does not exist
> and recreate it, but this is not what the user wants.  Alternatively,
> it was discussed to have configure only create the user configured in
> the admin profile only if no other admin user already exists.  This
> however would be confusing to a user who believes they can use the
> admin profile to create arbitrary admin users (a not-unreasonable
> belief).  By doing the creation with db seeds, we ensure that the
> admin user is always present (no more "oh i forgot -p admin") but is
> only created once - during initial setup.
> 
> BZ#806001 - aeolus-configure will always create an admin user, need to key of a uuid not name
> https://bugzilla.redhat.com/show_bug.cgi?id=806001
> 

ACK to the series. Works for me.

I ran aeolus-configure on fresh f17 VM, logged in via wui as admin/password, changed login to admin1/password, re-ran aeolus-configure, no recreation of admin/password.

Thanks,
Steve|eggs



More information about the aeolus-devel mailing list