Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using a file is not really safe, depends on the file itself. Not suggested.
Ack.
But it depends on the uses, too. I do not carry around key-files but much of the discussion on the GnuPG mailing list is about cards. People appear to need key-files.
I frankly don't like "random passwords," because inevitably you put them into some kind of "keychain" which can be compromised.
To properly protect a remote system, put OpenVPN as the "outer moat," using unique digital certificates. (Also, use "tls-auth" or its equivalent.) Authorized users can cross the (hidden ...) drawbridge just by clicking an icon at the top of the screen, whereas everyone else is utterly locked-out. Furthermore, certificates can be individually "revoked" – say if a laptop gets stolen or someone leaves the company. (They can also be "password-protected," which encrypts their content.)
If, and only if, you pass over the drawbridge can you come to the (ssh ...) "portcullis" and thereby enter the castle.
Last edited by sundialsvcs; 01-30-2024 at 03:00 PM.
I frankly don't like "random passwords," because inevitably you put them into some kind of "keychain" which can be compromised.
To properly protect a remote system, put OpenVPN as the "outer moat," using unique digital certificates. (Also, use "tls-auth" or its equivalent.) Authorized users can cross the (hidden ...) drawbridge just by clicking an icon at the top of the screen, whereas everyone else is utterly locked-out. Furthermore, certificates can be individually "revoked" – say if a laptop gets stolen or someone leaves the company. (They can also be "password-protected," which encrypts their content.)
If, and only if, you pass over the drawbridge can you come to the (ssh ...) "portcullis" and thereby enter the castle.
I frankly don't like hackers, data mining and in general I don't like if anybody want to play with my own private data.
I need to log in almost everywhere, including google, facebook, netflix, LQ, github, webshops, banks, package delivery companies, ... and I cannot rule them (to really protect me).
OpenVPN cannot help on this, certificates cannot help on this. They can only protect the line, but not the thing at the other end of the line.
The only way that random passwords could – in my opinion – be hypothetically useful, to some extend, is to not memorize, copy or send them, then to ensure they will be destroyed on the slightest suspicion of an attack. Even waterboarding would not suffice to get the password.
I hope that not one of us is in a situation that justified anything close to this.
Else, get out and do not bother with passwords in the first place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.