TeamPass Password Manager installation on Ubuntu 20.04 LTS – H2S Media

Steps and commands to install TeamPass collaborative Password Manager on Ubuntu 20.04 LTS Linux server or desktop to manage passwords using the browser.
What is TeamPass collaborative Password Manager?
TeamPass is an open-source web-based password manager that also allows sharing of passwords. It is available to install on a Linux and Windows server along with an easy Docker Image way as well. It is also known as a collaborative password keeper because it allows sharing of the stored pass key folders with team members. Access rights can be defined for each user to control or limit them to access only a given set of data.
Key Features:
TeamPass System requirements
It doesn’t need any special system requirements
As TeamPass password manager is a web-based application thus we need to set up a Web server on our Ubuntu server or desktop. For that run
Allow Apache full in the firewall:
As the Teampass is based on PHP, hence we need to install this hypertext language on our Ubuntu server along with extensions that help it to communicate with MySQL and perform other tasks with Apache.
Use the below single command that will not only installs the PHP but the necessary extensions.
We also need Mcrypt but it is not available in the official repo, thus we compile it from the source.
Enable mcrypt extension-
Check it-
(function(){for(var g="function"==typeof Object.defineProperties?Object.defineProperty:function(b,c,a){if(a.get||a.set)throw new TypeError("ES3 does not support getters and setters.");b!=Array.prototype&&b!=Object.prototype&&(b[c]=a.value)},h="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,k=["String","prototype","repeat"],l=0;lb||1342177279>>=1)c+=c;return a};q!=p&&null!=q&&g(h,n,{configurable:!0,writable:!0,value:q});var t=this;function u(b,c){var a=b.split(“.”),d=t;a[0]in d||!d.execScript||d.execScript(“var “+a[0]);for(var e;a.length&&(e=a.shift());)a.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c};function v(b){var c=b.length;if(0<c){for(var a=Array(c),d=0;d=c.offsetWidth&&0>=c.offsetHeight)a=!1;else{d=c.getBoundingClientRect();var f=document.body;“pageYOffset”in window?window.pageYOffset:(document.documentElement||f.parentNode||f).scrollTop);d=d.left+(“pageXOffset”in window?window.pageXOffset:(document.documentElement||f.parentNode||f).scrollLeft);f=a.toString()+”,”+d;b.b.hasOwnProperty(f)?a=!1:(b.b[f]=!0,a=a<=b.g.height&&d<=b.g.width)}a&&(b.a.push(e),b.c[e]=!0)}y.prototype.checkImageForCriticality=function(b){b.getBoundingClientRect&&z(this,b)};u("pagespeed.CriticalImages.checkImageForCriticality",function(b){x.checkImageForCriticality(b)});u("pagespeed.CriticalImages.checkCriticalImages",function(){A(x)});function A(b){b.b={};for(var c=["IMG","INPUT"],a=[],d=0;d<c.length;++d)a=a.concat(v(document.getElementsByTagName(c[d])));if(a.length&&a[0].getBoundingClientRect){for(d=0;c=a[d];++d)z(b,c);a="oh="+b.l;b.f&&(a+="&n="+b.f);if(c=!!b.a.length)for(a+="&ci="+encodeURIComponent(b.a[0]),d=1;d=a.length+e.length&&(a+=e)}b.i&&(e=”&rd=”+encodeURIComponent(JSON.stringify(B())),131072>=a.length+e.length&&(a+=e),c=!0);C=a;if(c){d=b.h;b=b.j;var f;if(window.XMLHttpRequest)f=new XMLHttpRequest;else if(window.ActiveXObject)try{f=new ActiveXObject(“Msxml2.XMLHTTP”)}catch(r){try{f=new ActiveXObject(“Microsoft.XMLHTTP”)}catch(D){}}f&&(“POST”,d+(-1==d.indexOf(“?”)?”?”:”&”)+”url=”+encodeURIComponent(b)),f.setRequestHeader(“Content-Type”,”application/x-www-form-urlencoded”),f.send(a))}}}function B(){var b={},c;c=document.getElementsByTagName(“IMG”);if(!c.length)return{};var a=c[0];if(!(“naturalWidth”in a&&”naturalHeight”in a))return{};for(var d=0;a=c[d];++d){var e=a.getAttribute(“data-pagespeed-url-hash”);e&&(!(e in b)&&0<a.width&&0<a.height&&0<a.naturalWidth&&0
=b[e].o&&a.height>=b[e].m)&&(b[e]={rw:a.width,rh:a.height,ow:a.naturalWidth,oh:a.naturalHeight})}return b}var C=””;u(“pagespeed.CriticalImages.getBeaconData”,function(){return C});u(“pagespeed.CriticalImages.Run”,function(b,c,a,d,e,f){var r=new y(b,c,a,e,f);x=r;d&&w(function(){window.setTimeout(function(){A(r)},0)})});})();pagespeed.CriticalImages.Run(‘/mod_pagespeed_beacon’,’’,’Eu877fTLHi’,true,false,’W0nivOVDmZY’);
//]]>Enable Mcrypt extension

One more thing we have to edit is the PHP.ini to increase the maximum execution time for a script/process:
Under Resource Limit find the line:
max_execution_time = 30
and change its value to
max_execution_time = 60
Change PHP maximum Executaion Time
Save file- Ctrl+X, Y and hit the Enter key.
To store the Database of Teampass, MySQL has to be installed either on the same Ubuntu server or in a dedicated one. The packages to set up MySQL or MariaDB are already there on Ubuntu 20.04 official repo.
Enable and start it-
Run mysql_secure_installation to secure the initial installation.
Login to MySQL:
Replace youDB with the database name you want to use and youUSER for username and pass with the password you want to use.
Now, let’s download the files we need to configure and setting up the TeamPass collaborative password manager on the Ubuntu running system.
Create a dedicated directory in www to hold the Teampass files.
Get the latest files
Create virtual host
Add the following lines, and it must look exactly like below:
Save the files Ctrl +X, type Y, and hit the Enter key.
Disable Default Apache website configuration and enable the one you have created.
Reload Apache
Open your browser and type the Ip-address of the server or the URL of the domain where you have installed the TeamPass Password manager.
Welcome screen
Server Check for Teampass
Database connection
TeamPass Ubuntu – Salt key and password
Create Database tables
Configuration Finalization
TeamPass Ubuntu password manager screenshot
Login Administrator password
TeamPass collaborative password manager Dashboard on Ubuntu 20.04 Linux
Heyan Maurya Ubuntu
Heyan Maurya Debian, Linux, Ubuntu
Heyan Maurya Linux

Heyan Maurya Linux

document.getElementById(“ak_js”).setAttribute(“value”,(new Date()).getTime());
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Linux Shout crafted as a part of our main portal H2S Media to publish Linux related tutorials and open source Software.


Leave a Reply

Your email address will not be published. Required fields are marked *