John A. Sullivan III <jsullivan <at> opensourcedevel.com> writes:
> > 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 hello Samuel, did you solved the changing admin password. I got this error while using the command . [root@localhost access_control]# openca-digest sha1 'dash7' ERROR::Option 'sha1' not understood! USAGE: openca-digest [-v] [-dgst sha1|md5|crypt] text-to-digest please let me know where is the mistake in command. thanks for your help, aparna ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users