On Fri, 2008-11-21 at 15:54 -0200, Samuel Rios Carvalho wrote: > How can I change the password's admin? The password that I put in > install openca? > I saw config.xml option default_web_password, but how I put the > password? md5? sha? > > sincerely, > > Samuel Rios Carvalho <snip>
There are a couple of ways to do it and I'm still figuring out the ins and outs of 1.0.2 which is a little different. I believe the start up script checks to see if default_web_password is in the config.xml. If it is, it prompts for the default user's password when the system is started (openca_start or openca start depending on which way you call it). You can then use the default user and that password to log in. It is always dynamic, i.e., the password is set when you start the system and does not always have to be the same. The old fashioned way is to edit the files in <install dir>/etc/openca/access_control. There, you can specify the user name and the password. To specify the password, you give it the hash of the password. I believe it defaults to sha1. You'll see this in the tag. You then use the script, openca-digest to generate the hash value from the actual password. From the command line type: openca-digest sha1 <password>. Then place the hash value in the password tags. If you really wanted to get fancy you could use LDAP instead. If you need those instructions, let me know. Hope this helps - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 [EMAIL PROTECTED] http://www.spiritualoutreach.com Making Christianity intelligible to secular society ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users