Reasonably easy way to move passwords?

Discussion in 'all things UNIX' started by bellgamin, Jun 13, 2019.

  1. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    I finally found a Linux distro that is friendly enough to make me learn Linux -- Manjaro with KDE desktop. I'm now on the hunt for a good tutorial &/or book on Linux in general & Manjaro in particular.

    My 1st priority is to find out how to get all the passwords (PW) from my Win-based PW manager onto a Linux-based PW manager. Doing that by hand would be a bummer because most of my PW are = or > 20 characters (letters, symbols, numbers, etc). Plus, I have more than 100 PW to move.

    Any suggestions or comments on how to move my PW will be hugely appreciated.
     
  2. zapjb

    zapjb Registered Member

    Joined:
    Nov 15, 2005
    Posts:
    5,556
    Location:
    USA still the best. But barely.
    Sorry don't know. Bookmarking.
     
  3. Bill K

    Bill K Registered Member

    Joined:
    Sep 19, 2018
    Posts:
    70
    Location:
    Naperville IL
    I'm not a Linux user at all, but it looks like KeePass has downloads available for various versions of Linux as well as Windows. Not certain but maybe you can share your password database between versions, I know that KeePass supports password imports from other software and is a free open source password manager. I don't want my passwords stored on the cloud no matter how secure various sources claim they are, and KeePass can store your passwords in a safely encrypted file kept wherever you want it while keeping your data off the cloud. Hope this helps!
     
    Last edited: Jun 13, 2019
  4. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,240
    Location:
    Among the gum trees
    First, congratulations, @bellgamin for experimenting with Linux. These forums are a wealth of information, so if you have any questions don't hesitate to ask.

    I'm not going to convince anyone to use a cloud based password manager, but as I use Norton Password Manager, all my logins are available across devices. I'm here on my Linux machine using Firefox and have Norton Password Manager installed. The same can be achieved with LastPass + others I believe.

    I can certainly understand people not wanting their passwords in the cloud and there are other places to discuss the pro and cons of doing that. This is just how I handled @bellgamin 's question.
     
  5. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    Does your Windows PW manager have an option to print to text / CSV / JSON or whatever?

    Whatever the Linux one can import from, I mean.
     
  6. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @mirimir - it prints to a .txt file.

    @Bill K - I use KeePass. Will check to see if there is a linux version.

    @Krusty - I look into stand-alone PW Mgrs that are cloud-based.
     
  7. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,010
    Location:
    Member state of European Union
    I used to use KeePassX instead of KeePass. It lacks some features, but is compatible with KeePass file format. Some people use KeePass using Mono on Gnu/Linux.

    Maybe try Bitwarden instead?
     
  8. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    Then you should be able to import that into another keyword manager. Maybe after some editing / formatting.
     
  9. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    @bellgamin : I had been using KeePass for a long time but for some reason it's pretty slow on Manjaro KDE which I'm running as well. So I switched to KeePassXC (which is actively under development contrary to KeePassX) - it's available fron the official repos. It's fully KeePass-compatible and in combination with the KeePassXC-Browser add-on very user-friendly. It's no problem to load the *.kdbx file created by KeePass.

    Regarding Manjaro KDE: It's a good decision - I love this distro! However, keep in mind that it's (as an Arch Linux derivative) a rolling distro which requires some discipline:

    1. Never perform a partial upgrade. Before you update to a new package version or install a new package you should always upgrade your system with sudo pacman -Syu or with the graphical package manager you're using.
    2. While there are usually updates in Arch every day, the stable version of Manjaro is updated about every 2 weeks. Those updates are usually rather big. You might want to subscribe to the Stable Updates Announcements RSS feed. In order to minimize the risk that it breaks your system it is advisable to log out, press Ctrl+Alt+F3, log in, perform sudo pacman -Syyuu and execute reboot.
    3. In order to make this process a bit easier and to combine it with an automated system maintenance, I suggest to add the following lines to your .bashrc :
    Code:
    alias pacnew='sudo updatedb && locate --existing --regex "\.pac(new|save)$"'
    alias u="sudo pacman -Syyuu && pacnew > /home/bellgamin/pacnew.log && sudo paccache -ruk0 && sudo paccache -rvk2"
    See the relevant Arch Linux wiki articles here and here.
    So you just have to execute u and press <Enter>.

    With this disciplined approach Manjaro will be very stable for you.

    EDIT: Adding to what I wrote above: If there are pacnew files you should inspect them and possibly edit them to your needs. In order to facilitate this I suggest to install the meld package and add the following alias to your .bashrc:
    Code:
    alias pacdiff='sudo -H DIFFPROG=meld pacdiff'
    Just execute pacdiff.

    Note: After making changes in .bashrc you should execute source .bashrc in the console.
     
    Last edited: Jun 15, 2019
  10. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @summerheat - 10Q to the nth for an excellent tutorial!! I shall follow it to the letter.
     
  11. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,221
    KeePass also works on Linux, you could just copy the database file (by default kdbx, if I recall), and try to open it in Linux in KeePass.
    Mrk
     
  12. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Yes, it does with Mono - and I had used it earlier, e.g. on Fedora. But for whatever reason Auto-Type is extremely slow with Manjaro (KDE only?) unless that has changed recently.
     
  13. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,221
    I tried it on several distros, with plasma, unity and xfce desktops, and had no issues.
    You can use either windows version via wine or the native one, both work fine.
    Mrk
     
  14. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,010
    Location:
    Member state of European Union
    KeePass version 2.* is .net based. Not Wine, but Mono or other .net implementation is needed.
    I don't know what you mean by native KeePass. There is no native Gnu/Linux KeePass version. There are other projects such as KeePassX or KeePassXC, which are compatible with KeePass though.
     
  15. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Well, I'm certainly not the only one.
     
  16. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    I wouldn't use KeePassX as it seems that development has stopped long ago: The latest version is from Oct. 2016 which means that newer KeePass features in KDBX 4 are not supported. KeePassXC is certainly the better alternative.
     
  17. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,010
    Location:
    Member state of European Union
    You're probably right. I must migrate soon to other password manager.
     
  18. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,221
    I'm not saying you are. In fact, I'm intrigued and will try to replicate the problem, so if I can write a tutorial to fix this, I'll try.
    Mrk
     
  19. longshots

    longshots Registered Member

    Joined:
    Oct 20, 2017
    Posts:
    537
    Location:
    Australia
    Did you ever have a chance to take a look at this?
     
  20. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,221
    Not yet, soz. Just didn't have time.
    Mrk
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.