How can I set up MFA on my Zorin OS Pro computer?

For UK Cyber Essentials I need to set up MFA on my computer, but I have no idea where to start...

The regs satate:
When not using multi-factor authentication, which option are you using to protect your
external service from brute force attacks?
A. Throttling the rate of attempts
B. Locking accounts after 10 unsuccessful attempts
C. None of the above, please describe
The external service that you provide must be set to slow down or stop attempts to log in if the wrong username and
password have been tried a number of times. This reduces the opportunity for cyber criminals to keep trying different
passwords (brute-forcing) in the hope of gaining access.
CE Requirement: You must protect your chosen authentication method (which can be biometric authentication,
password or PIN) against brute-force attacks. When it's possible to configure, you should apply one of the following:
β€’ β€˜throttling' the rate of attempts, so that the length of time the user must wait between attempts increases
with each unsuccessful attempt - you shouldn’t allow more than 10 guesses in 5 minutes
β€’ locking devices after more than 10 unsuccessful attempts

You can set up this with the Dconf Editor. You can install it with the Terminal Command sudo apt install dconf-editor

When installed, open it and navigate to org>gnome>login-screen and there You have a Settings for how many Times You can try to log in:

1 Like

Thank you! I installed using the Software app, and then followed the path in your screenshot. (Note to future self!)

Are we talking about gaining access to the computer or to some service that is running with in it, i.e.: SSH?

It's about stopping access by persons unknown!

I would watch this:

Alternatively:

Ubuntu 2FA with Aegis

Aegis Authenticator is a free, secure, and open-source 2FA app for Android that supports TOTP and HOTP, making it compatible with thousands of services.3 However, setting up system-wide 2FA on Ubuntu using Aegis Authenticator is not straightforward, as Aegis is primarily designed for Android devices. For Ubuntu, you can use tools like Google Authenticator or other 2FA solutions that are compatible with Linux.

To enable 2FA on Ubuntu, you can follow these steps:

  1. Install the necessary package for 2FA. For example, you can use the libpam-google-authenticator package.8
  2. Configure the PAM (Pluggable Authentication Module) to use 2FA. This involves editing the configuration files and adding the necessary lines to enable 2FA.8
  3. Generate a QR code for the 2FA setup and scan it with a 2FA app like Google Authenticator or Aegis.8
  4. Verify the setup by entering the 6-digit 2FA code from the app into the terminal.8

While Aegis Authenticator is not directly compatible with Ubuntu, you can use it on your Android device to generate 2FA codes for your Ubuntu system. Additionally, there are other 2FA apps and tools that are more suited for Linux environments, such as Gnome Authenticator.5

If you are using a Gnome-based Linux distro, you might consider using Gnome Authenticator, which can import and export Aegis format.12 This allows you to manage your 2FA tokens across both your Android device and your Linux system.

AI-generated answer. Please verify critical facts.


🌐
linuxtldr.com
Authenticator is an Open-Source 2FA App for Linux

🌐
getaegis.app
Aegis Authenticator

🌐
github.com
GitHub - beemdevelopment/Aegis: A free, secure and open source app for Android to manage your 2-step verification tokens.

🌐
reddit.com
r/linuxquestions on Reddit: What 2-factor authentication app does the Linux community use?

🌐
indii.org
Open Source Alternatives for Two Factor Authentication (2FA) Across Multiple Devices

🌐
linuxtechmore.com
The Best Open-Source 2FA Apps for Linux & Android

🌐
aegis-authenticator-two-factor-2fa-app.soft112.com
Aegis Authenticator - 2FA App 3.3.4 Free Download

🌐
hostlab.tech
2FA Ubuntu Desktop | Hostlab Tech

🌐
forums.linuxmint.com
2FA authentication on Linux

🌐
forum.virtualmin.com
Support for Aegis Authenticator - 2FA - Webmin - Virtualmin Community

🌐
forum.virtualmin.com
Support for Aegis Authenticator - 2FA - Page 2 - Webmin - Virtualmin Community

🌐
news.ycombinator.com
Aegis v3.0 – a free, secure and open source 2FA app for

1 Like