Scratch that about resetting the password.  It looks like in version 4+
it's stored in the MySQL database in the "person" table.  So it looks like
you'd need to reset it there.

Thanks,
Joshua Nathan
IT Administrator
Black Forest Academy
+49 (0) 7626-916123


On Fri, May 2, 2014 at 2:17 PM, Josh Nathan <[email protected]>wrote:

> For setting the password, I'd run the following command:
> htpasswd -d /usr/local/pf/conf/admin.conf admin
>
> Then you should be able to enter in the password you want.
>
> As for copying over the configs... in my experience, you basically just
> need to copy over the pf.conf and networks.conf files over.  I've never
> done an HA setup before, but I imagine those would still have all the
> information you'd need.  Check those two files for IP Addresses specific to
> the servers.
>
> Thanks,
> Joshua Nathan
> IT Administrator
> Black Forest Academy
> +49 (0) 7626-916123
>
>
> On Fri, May 2, 2014 at 1:33 PM, Morris, Andi <[email protected]>wrote:
>
>>  I should have said that I also cannot get in using the default password
>> of ‘admin’
>>
>>
>>
>> *From:* Morris, Andi [mailto:[email protected]]
>> *Sent:* 02 May 2014 12:17
>> *To:* [email protected]
>> *Subject:* [PacketFence-users] Change web interface admin password via
>> CLI
>>
>>
>>
>> Hi all,
>>
>> When setting up a HA pair of Packetfence servers everything goes well up
>> until the configuration of the separate servers. With the primary the
>> active server I log in and run through the configurator as usual with no
>> problems. Now because my mysql database replicates to the secondary server
>> using DRBD running the configurator on the secondary will not work, so I
>> just go to https://secondarypf:1443/admin, however because I haven’t run
>> the configurator I cannot login to the admin interface with the username
>> and password I setup for the primary server……a bit of a catch 22.
>>
>>
>>
>> What’s the best way of getting the second server configured with the web
>> interface admin password?
>>
>>
>>
>> As an aside, is there a good way of replicating the entire config,
>> replacing the hostname and IP addresses where applicable?
>>
>>
>>
>> Cheers,
>>
>> Andi
>>
>>
>>
>> -------------------------------------
>>
>> Andi Morris
>>
>> IT Security Officer
>> Cardiff Metropolitan University
>>
>> T: 02920 205720
>> E: [email protected]
>>
>> --------------------------------------
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
>> unparalleled scalability from the best Selenium testing platform
>> available.
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>
>>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to