Clipperz Password Manager: Difference between revisions
Jump to navigation
Jump to search
(Initial creation) |
m (Added categories and updated Meta) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
#* <code> rm -fr setup </code> | #* <code> rm -fr setup </code> | ||
# Browse to website and start using, eg <code><your-site>/beta/index.html</code> | # Browse to website and start using, eg <code><your-site>/beta/index.html</code> | ||
== Logout Page == | |||
The logout page doesn't exist. Which means that when you go logout (or re-login when your session has expired) you end up with a page not found error. Create a <code>logout.html</code> page in the same directory as the main <code>index.html</code> page (eg something like <code><your-site>/beta/logout.html</code> with the following content... | |||
<source lang="html4strict"> | |||
<html> | |||
<body> | |||
<a href='index.html'>Back to login page</a> | |||
</body> | |||
</html> | |||
</source> | |||
[[Category:Applications]] | |||
[[Category:Security]] |
Latest revision as of 15:56, 19 September 2012
Setup
Instructions on setting up a private version of the Clipperz password manager using the Community Edition.
Prerequisites
- You'll need both the GitHub core and Python GitHub packages installed, so if required
apt-get install git-core
apt-get install python-git
- Access to a MySQL database to store your (encrypted) data into
- A website to host on
- This can either be sub-directory to an existing site, or a new site. Though it would be advisable for it to be secure (HTTPS).
Procedure
- Download the GIT package to a working directory (eg your home dir)
- Change directory into the download and build a deployable version
cd password-manager
./scripts/build clean install debug --frontends beta --backends php
- Move the contents of
target/php
to your web directory- EG
mv target/php /var/www/clipperz
- This can either be sub-directory to an existing site, or a new site. See below for an example config for a new Apache site.
- EG
- Create database
- Launch the MySQL console
mysql -u root -p
- Create database
CREATE DATABASE clipperz;
- Create user for script
GRANT ALL PRIVILEGES ON clipperz.* TO 'clipperz'@'localhost' IDENTIFIED BY 'clipperz';
- Launch the MySQL console
- Update the config with your database details
vi configuration.php
- Initialise the database - Browse to
<your-site>/setup/index.php
and click on POG me up, then Proceed - Remove the ability to access the database via the web
rm -fr setup
- Browse to website and start using, eg
<your-site>/beta/index.html
Logout Page
The logout page doesn't exist. Which means that when you go logout (or re-login when your session has expired) you end up with a page not found error. Create a logout.html
page in the same directory as the main index.html
page (eg something like <your-site>/beta/logout.html
with the following content...
<html>
<body>
<a href='index.html'>Back to login page</a>
</body>
</html>