• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to manage passwords in Linux with KeePassX

{{postValue.id}}

To Manage passwords in Linux with KeePassX

keepassx is a password manager which allows the end user to keep the passwords protected. It uses AES (alias Rijndael) or Twofish encryption algorithm using a 256 bit key. It maintains a database to log passwords along with the other details such as Title, username, password, expiry-date etc., This article explains installation and password management by using keepassx in Linux.


To install KeePassX

Run the following to install the dependency packages.

[root@linuxhelp1 ~]# dnf install qt-devel qt-config gcc-c++ libXtst-devel -y
Last metadata expiration check performed 4:11:00 ago on Mon Jul 25 23:38:02 2016.
Dependencies resolved.
=======================================================================================================================
 Package                           Arch                Version                              Repository            Size
=======================================================================================================================
Installing:
 binutils                          x86_64              2.25-17.fc23                         updates              5.6 M
 cpp                               x86_64              5.3.1-6.fc23                         updates              8.3 M
 dwz                               x86_64              0.12-1.fc23                          fedora               106 k
 expat-devel                       x86_64              2.1.0-12.fc23                        fedora                61 k
 fontconfig-devel                  x86_64              2.11.94-4.fc23                       fedora               137 k
 freetype-devel                    x86_64              2.6.0-3.fc23                         fedora               378 k
 gcc                               x86_64              5.3.1-6.fc23                         updates               19 M
 gcc-c++                           x86_64              5.3.1-6.fc23                         updates              9.8 M
 ghc-srpm-macros                   noarch              1.4.2-2.fc23                         fedora               8.2 k
 gl-manpages                       noarch              1.1-10.20140424.fc23                 fedora               1.0 M
.
.
.
Installed:
  binutils.x86_64 2.25-17.fc23                           cpp.x86_64 5.3.1-6.fc23                                       
  dwz.x86_64 0.12-1.fc23                                 expat-devel.x86_64 2.1.0-12.fc23                              
  fontconfig-devel.x86_64 2.11.94-4.fc23                 freetype-devel.x86_64 2.6.0-3.fc23                            
  gcc.x86_64 5.3.1-6.fc23                                gcc-c++.x86_64 5.3.1-6.fc23                                   
  ghc-srpm-macros.noarch 1.4.2-2.fc23                    gl-manpages.noarch 1.1-10.20140424.fc23                       
  glibc-devel.x86_64 2.22-3.fc23                         glibc-headers.x86_64 2.22-3.fc23                              
  gnat-srpm-macros.noarch 2-1.fc23                       go-srpm-macros.noarch 2-3.fc23                                
  isl.x86_64 0.14-4.fc23                                 kernel-headers.x86_64 4.6.4-201.fc23                          
  libICE-devel.x86_64 1.0.9-3.fc23                       libSM-devel.x86_64 1.2.2-3.fc23                               
  libX11-devel.x86_64 1.6.3-2.fc23                       libXau-devel.x86_64 1.0.8-5.fc23                              
  libXcursor-devel.x86_64 1.1.14-4.fc23                  libXdamage-devel.x86_64 1.1.4-7.fc23                          
  libXext-devel.x86_64 1.3.3-3.fc23                      libXfixes-devel.x86_64 5.0.1-5.fc23                           
  libXft-devel.x86_64 2.3.2-3.fc23                       libXi-devel.x86_64 1.7.4-3.fc23                               
  libXinerama-devel.x86_64 1.1.3-5.fc23                  libXrandr-devel.x86_64 1.5.0-2.fc23                           
  libXrender-devel.x86_64 0.9.9-2.fc23                   libXt-devel.x86_64 1.1.5-2.fc23                               
  libXtst-devel.x86_64 1.2.2-5.fc23                      libXv-devel.x86_64 1.0.10-3.fc23                              
  libXxf86vm-devel.x86_64 1.1.4-2.fc23                   libdrm-devel.x86_64 2.4.65-1.fc23                             
  libmpc.x86_64 1.0.2-4.fc23                             libpng-devel.x86_64 2:1.6.17-2.fc23                           
  libstdc++-devel.x86_64 5.3.1-6.fc23                    libxcb-devel.x86_64 1.11-8.fc23                               
  libxshmfence-devel.x86_64 1.2-2.fc23                   mesa-libGL-devel.x86_64 11.0.3-1.20151012.fc23                
  mesa-libGLU-devel.x86_64 9.0.0-9.fc23                  ocaml-srpm-macros.noarch 2-3.fc23                             
  perl-srpm-macros.noarch 1-17.fc23                      python-srpm-macros.noarch 3-7.fc23                            
  qt-config.x86_64 1:4.8.7-18.fc23                       qt-devel.x86_64 1:4.8.7-18.fc23                               
  redhat-rpm-config.noarch 36-1.fc23.1                   xorg-x11-proto-devel.noarch 7.7-18.fc23                       
  zlib-devel.x86_64 1.2.8-9.fc23                        

Upgraded:
  libgcc.x86_64 5.3.1-6.fc23          libgomp.x86_64 5.3.1-6.fc23               libstdc++.x86_64 5.3.1-6.fc23         
  qt.x86_64 1:4.8.7-18.fc23           qt-common.noarch 1:4.8.7-18.fc23          qt-x11.x86_64 1:4.8.7-18.fc23         

Complete!

Install the keePassX package by using the following command.

[root@linuxhelp1 ~]# dnf install keepassx -y
Last metadata expiration check performed 4:14:48 ago on Mon Jul 25 23:38:02 2016.
Dependencies resolved.
=======================================================================================================================
 Package                    Arch                     Version                           Repository                 Size
=======================================================================================================================
Installing:
 keepassx                   x86_64                   1:2.0.2-3.fc23                    updates                   604 k
.
.
.
Installed:
  keepassx.x86_64 1:2.0.2-3.fc23                                                                                       

Complete!

To launch KeePassX

To open keepassx, enter keePassX in the search bar.
installation-and-password-management-keepassx-Linux-open
The welcome page appears.
installation-and-password-management-keepassx-Linux-welcome-page
To create a database click on Database &rarr New database
installation-and-password-management-keepassx-Linux-New-database
Now generate a password for the database to make it more protected.
installation-and-password-management-keepassx-Linux-password
Create new groups by hitting the Group tab.
installation-and-password-management-keepassx-Linux-new-group
Set the name for the group and other details of the group as per your requirement and then click OK.

installation-and-password-management-keepassx-Linux-group
installation-and-password-management-keepassx-Linux-new-database
To add entries into the group, Right-click and select Add the new entry.
installation-and-password-management-keepassx-Linux-add-new-entry
Fill the details of the new entry and click OK
installation-and-password-management-keepassx-Linux-details
installation-and-password-management-keepassx-Linux-clone-entry
Go to Tools &rarr Settings, to change the database settings.
installation-and-password-management-keepassx-Linux-settings
Here, some settings are also related to clearing the clipboard, lock database after inactive period, show passwords in cleartext etc.,
After all the changes you have to save the database for that go to database &rarr save database option.
installation-and-password-management-keepassx-Linux-save-database
Browse the location where the database is to be saved and also provide a name for the DB.
installation-and-password-management-keepassx-Linux-location

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What encryption algorithm is used in this application?

A

AES 256 bit key encryption technique is used

Q

I'm trying this in centos 7 even after trying with dependent packages it shows error. What can I do ?

A

Along with those packages better group install development packages too

Q

What password database formats are compatible with KeePassX?

A

KeePassX currently uses the KeePass 2 (.kdbx) password database format as the native format.
It can also import KeePass 1 (.kdb) databases.

Q

Are there any plugins for KeePassX?

A

There is no interface build in to support plugins. Therefore, no plugins available.

Q

How to install KeepassXC?

A

Run the following command,
# add-apt-repository ppa:phoerious/keepassxc
# apt-get update
# apt-get install keepassxc

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.