{"id":3742,"date":"2021-01-25T09:54:14","date_gmt":"2021-01-25T09:54:14","guid":{"rendered":"https:\/\/linuxways.net\/?p=3742"},"modified":"2021-01-25T12:21:42","modified_gmt":"2021-01-25T12:21:42","slug":"how-to-setup-teampass-passwords-manager-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-setup-teampass-passwords-manager-on-ubuntu-20-04\/","title":{"rendered":"How to Setup Teampass Passwords Manager on Ubuntu 20.04"},"content":{"rendered":"<p><\/p>\n\n\n<p>In today&#8217;s world, every organization and individual has to manage a lot of passwords and other credentials. It&#8217;s not possible for anyone to remember all that confidential information. So, in order to address this problem, there are many tools available most of them are paid while some are available as an Open Source. Among all other tools, TeamPass is one of the best most useful open-source software to manage all your credentials within your Organization.<\/p>\n<p>Teampass is a Collaborative Passwords Manager to organize the password items into structured way of folders. It is associated with access rights given to dedicated users and groups. Teampass can be installed on Linux as well as on Windows but in this article, we are going to show you the installation steps on Linux using Ubuntu 20.04 LTS.<\/p>\n<p>Let\u2019s follow the steps below to set up this open-source tool on your system.<\/p>\n<h2>Prerequisites:<\/h2>\n<p>Before moving to the installation steps, make your server accessible and up to date. Login with a user having sufficient rights to perform system tasks.<\/p>\n<h2>Step 1: LAMP (Linux, Apache, MySQL, PHP) Setup<\/h2>\n<p>TeamPass is a web application that requires a web server and database server to support the application setup. So, our first step is to install and setup the LAMP stack that you can do by following our detailed article on LAMP stack setup. <a href=\"https:\/\/linuxways.net\/de\/debian\/how-to-install-linux-apache-mariadb-php-lamp-stack-on-debian-10\/\">https:\/\/linuxways.net\/debian\/how-to-install-linux-apache-mariadb-php-lamp-stack-on-debian-10\/<\/a><\/p>\n<p>Or use the commands below to install Apache, MariaDB, and PHP 7.4 on your system.<\/p>\n<pre># apt-get install apache2 apache2-utils mariadb-server mariadb-client php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline php7.4-bcmath php7.4-curl php7.4-fpm php7.4-gd php7.4-xml php7.4-mbstring -y<\/pre>\n<p>Once the required packages are installed, make sure to start the services and enable them to auto-restart at the time of reboot.<\/p>\n<pre># systemctl start apache2<\/pre>\n<pre># systemctl start mariadb<\/pre>\n<h2>Step 2: Database Setup for TeamPass<\/h2>\n<p>After installing the apache and database packages, let us run the command below to secure your database first.<\/p>\n<pre># mysql_secure_installation<\/pre>\n<p>Reload privilege tables and create new database using the mysql root user using commands below.<\/p>\n<pre># mysql -u root -p<\/pre>\n<pre>&gt; create database teampass;<\/pre>\n<pre>&gt; grant all privileges on teampass.* to teampass@localhost identified by \"admin123\";<br \/><br \/>&gt; flush privileges;<br \/><br \/>&gt; exit;<\/pre>\n<h2>Step 3: Apache Web Setup for TeamPass<\/h2>\n<p>As we already have an apache web service up and running, now we are going to configure that for the TeamPass.<\/p>\n<p>First, we will get the installation package of teampass from its github repository and place that into the document root directory of our web server using the commands below.<\/p>\n<pre># cd \/var\/www\/html\/<\/pre>\n<pre># git clone <a href=\"https:\/\/github.com\/nilsteampassnet\/TeamPass.git\">https:\/\/github.com\/nilsteampassnet\/TeamPass.git<\/a><\/pre>\n<p>After getting the teampass packages, set the ownership to www-data and update the permissions as 775 to its directory.<\/p>\n<pre># chown -R www-data:www-data TeamPass\/<\/pre>\n<pre># chmod -R 775 \/var\/www\/html\/TeamPass\/<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"302\" class=\"wp-image-3743\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-379.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-379.png 939w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-379-300x96.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-379-768x247.png 768w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/p>\n<p>We also need to update the execution time limit of PHP in php.ini file using any editor.<\/p>\n<pre># vim \/etc\/php\/7.4\/apache2\/php.ini<\/pre>\n<pre>max_execution_time = 60<br \/><br \/>:wq!<\/pre>\n<p>Save and quit the file.<\/p>\n<h2>Step 4: TeamPass Installation Setup<\/h2>\n<p>At this point, we are ready to start the installation process of TeamPass by accessing the FQDN or IP of server followed by the teampass folder path as shown.<\/p>\n<pre><a href=\"http:\/\/54.158.212.22\/TeamPass\">http:\/\/test.com\/TeamPass<\/a><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1027\" height=\"558\" class=\"wp-image-3744\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-380.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-380.png 1027w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-380-300x163.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-380-1024x556.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-380-768x417.png 768w\" sizes=\"auto, (max-width: 1027px) 100vw, 1027px\" \/><\/p>\n<p>Once you get the welcome page, click Next to proceed with the Server checks option by applying the Launch button. When all the checkmarks are successful, click the next button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"560\" class=\"wp-image-3745\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-381.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-381.png 1030w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-381-300x163.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-381-1024x557.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-381-768x418.png 768w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/p>\n<p>Next, we need to give the database connection details to see if it&#8217;s successful or not.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1027\" height=\"550\" class=\"wp-image-3746\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-382.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-382.png 1027w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-382-300x161.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-382-1024x548.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-382-768x411.png 768w\" sizes=\"auto, (max-width: 1027px) 100vw, 1027px\" \/><\/p>\n<p>After that choose the teampass table prefix, and give the teampass administrator account password of your choice.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"555\" class=\"wp-image-3747\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-383.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-383.png 1025w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-383-300x162.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-383-768x416.png 768w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/p>\n<p>In the next next, it will populate the data into the database, as shown in the image below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1028\" height=\"563\" class=\"wp-image-3748\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-384.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-384.png 1028w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-384-300x164.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-384-1024x561.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-384-768x421.png 768w\" sizes=\"auto, (max-width: 1028px) 100vw, 1028px\" \/><\/p>\n<p>Now, we are at the finalization step to perform the following tasks.<\/p>\n<ul>\n<li>Write the new setting.php file for your server configuration<\/li>\n<li>Write the new sk.php file for data encryption<\/li>\n<li>Change directory security permissions<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"550\" class=\"wp-image-3749\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-385.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-385.png 1025w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-385-300x161.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-385-768x412.png 768w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/p>\n<p>Next, the final step is the authentication to start using Teampass using the Administrator login as `admin` and the password that we have written during the installation process.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"534\" class=\"wp-image-3750\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-386.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-386.png 1020w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-386-300x157.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-386-768x402.png 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<h2>Step 5: Using TeamPass Administration Console<\/h2>\n<p>After the installation setup, we are ready to start using TeamPass. Let\u2019s login with your admin credentials to its Administrator account.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"571\" class=\"wp-image-3751\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-387.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-387.png 1004w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-387-300x171.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-387-768x437.png 768w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/p>\n<p>Upon successful login attempt, you will get the administration web interface as shown below, where you will be able to create the new users, users roles, and folders.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1003\" height=\"619\" class=\"wp-image-3753\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-388.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-388.png 1003w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-388-300x185.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-388-768x474.png 768w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/p>\n<p>Let\u2019s start creating a new folder from the top administration bar, give a name choose the parent folder, password strength, and access to roles.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"605\" class=\"wp-image-3754\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-389.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-389.png 1009w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-389-300x180.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-389-768x460.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-389-501x300.png 501w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><\/p>\n<p>Next, you can create multiple roles as per your requirements, where you can assign specific folder rights to a particular role group of users.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"549\" class=\"wp-image-3755\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-390.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-390.png 1001w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-390-300x165.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-390-768x421.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<p>Now create a new user and assign it the newly created role as shown.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1005\" height=\"630\" class=\"wp-image-3756\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-391.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-391.png 1005w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-391-300x188.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-391-768x481.png 768w\" sizes=\"auto, (max-width: 1005px) 100vw, 1005px\" \/><\/p>\n<p>So, these are the main key features available in teampass on the basis of what we do manage the administration side of TeamPass. In order to manage and provide the desired rights, we can create multiple users roles and manage their access to specific folders.<\/p>\n<h2>Step 6: Using TeamPass User Console<\/h2>\n<p>TeamPass comes with two web interfaces, one to administer it that we have seen in the previous step and the other is its users end. So, we are going to login using the newly created user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"686\" class=\"wp-image-3757\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-392.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-392.png 1020w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-392-300x202.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-392-768x517.png 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<p>Upon successful login let\u2019s see how we can add and manage new credentials.<\/p>\n<p>In order to store any new set of credentials, click to add a new item, put the relevant information and click on the Save button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1011\" height=\"733\" class=\"wp-image-3758\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-393.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-393.png 1011w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-393-300x218.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-393-768x557.png 768w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/p>\n<p>After making the saved change, you will get that listed below that folder as shown.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"684\" class=\"wp-image-3759\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-394.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-394.png 1009w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-394-300x203.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-394-768x521.png 768w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><\/p>\n<h2>Conclusion:<\/h2>\n<p>At the end of this article, you are now familiar with the installation steps of TeamPass using the LAMP stack. We have covered the detailed steps of TeamPass installation and its administration. Now you can easily manage your credentials within your Organization to save credentials and manage access to every individual. Do not hesitate to contact us if you have any issue using the comments section below, thank you.<\/p>\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s world, every organization and individual has to manage a lot of passwords and other credentials. It&#8217;s not possible for anyone to remember all that confidential information.&hellip;<\/p>","protected":false},"author":14,"featured_media":3752,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[153,100],"class_list":["post-3742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-teampass","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=3742"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/3752"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=3742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=3742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=3742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}