[cvs] [Wiki] changed: FAQ/Admin/Config

Jan Schneider jan at horde.org
Fri Nov 3 02:25:42 PST 2006


jan  Fri, 03 Nov 2006 02:25:41 -0800

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  4.1
Change log:  Admin questions

@@ -268,8 +268,15 @@
  
  * If using the sql backend with the {{horde_users}} table, the password must be in md5() format (and not the !MySQL password() format, for example).
  * CVS HEAD versions provide a script {{horde/scripts/db/auth_initial_user.sql}} which will create an initial admin user for sql authentication. This can be used to login and configure the system. If you use this, be sure to change it as soon as possible so it does not become a security risk.
  * If using IMAP authentication, see the comments in {{horde/imp/config/servers.php}} for options you may need to specify.
+
++++ What are the default user name and password for the administrator?
+There are none. Since Horde supports a broad variety of different authentication backends and you are free to choose any of them for your Horde installation, the selected backend decides which are valid login credentials. And we we didn't add an authentication independant backdoor to Horde, for obvious reasons.
+Instead, you can turn any valid and authenticated user into an administrator by adding his user name to the administrator list in Horde's configuration. Make sure to use user names exactly like they are used inside Horde, i.e. with or without a domain name, and considering any user name hooks that you enabled.
+
++++ How can I get back to the setup screen?
+You probably locked yourself out as an administrator because you properly configured an authentication backend for Horde, but forgot to add yourself as an administrator in the Horde configuration - see the paragraph above. If you don't want to start from scratch by copying {{conf.php.dist}} to {{conf.php}} again, you need to change the configuration file {{horde/config/conf.php}} manually. Edit the {{$conf['auth']['admins']}} setting and add your username, e.g. {{$conf['auth']['admins'] = array('joe');}} or {{$conf['auth']['admins'] = array('joe at example.com');}}. You can add several administrators using a comma separated list.
  
  ++ IMP configuration
  
  +++ Can a single IMP installation serve different virtual hosts?


More information about the cvs mailing list