---
title: Optimised authentication methods for Ubuntu Desktop
description: Alternatives to passwords provide a streamlined user experience while
  significantly improving security.
url: https://canonical.com/blog/optimised-authentication-methods-for-ubuntu-desktop
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Kris Sharma](https://canonical.com/blog/author/krissharma "More about Kris Sharma")

14 August 2020

# Optimised authentication methods for Ubuntu Desktop

[NIST](https://canonical.com/blog/tag/nist)
[Security](https://canonical.com/blog/tag/security)
[Ubuntu Desktop](https://canonical.com/blog/tag/ubuntu-desktop)

---

Share the article

Still counting on passwords to protect your workstation? When set up properly, alternatives to passwords provide a streamlined user experience while significantly improving security. These alternative authentication methods can also easily be combined to create a custom and adaptive authentication profile.

This whitepaper introduces three popular authentication methods that provide a solid alternative to passwords. Perhaps you’d like to configure your laptop for login using a YubiKey hardware token connected to a dock. Another option could be to login with a Duo push notification when not connected to the dock, but use a Google Authenticator one-time password when no network is available. Maybe you need a separate hardware token just for ssh authentication, and you always need to keep a long, complex password for emergency authentication should all other methods fail. All of these scenarios can be easily configured within Ubuntu.

Highlights of this whitepaper include:

* Configuration instructions for Yubikeys, the Google Authenticator app and Duo push notifications

* Guidance on using Pluggable Authentication Modules (PAM) within Ubuntu

* Planning and testing strategies for creating a multi-factor authentication experience

* An overview of NIST guidance (NIST 800-63 series, *Digital Identity Guidelines*) to aid in building an authentication plan

[Download this whitepaper on optimizing your authentication experience](https://ubuntu.com/engage/desktop-authentication-whitepaper) to see how to combine Yubikeys, the Google Authenticator app, Duo push notifications with traditional passwords to create that custom authentication experience.

Download Whitepaper:

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical's Privacy Notice](https://canonical.com/legal/data-privacy/contact)
and [Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### The full Canonical Academy SysAdmin track is now live](https://canonical.com/blog/canonical-academy-sysadmin-track-live)

Earn the SysAdmin qualification from the publishers of Ubuntu

[Canonical](https://canonical.com/blog/author/canonical)

24 November 2026

[### New Edge archive offers opt-in AI-driven security remediation and backports](https://canonical.com/blog/new-edge-archive-offers-opt-in-ai-driven-security-remediation-and-backports)

The open source ecosystem faces an unprecedented wave of vulnerability reports and attacks, driven by AI agents. Our security teams have already shipped double the number of...

[Canonical](https://canonical.com/blog/author/canonical)

12 November 2026

[### How to build, maintain, and secure infrastructure for AI factories](https://canonical.com/blog/how-to-build-maintain-and-secure-infrastructure-for-ai-factories)

Moving AI into production creates a long-term maintenance obligation for the software behind it. GPU infrastructure can remain in service across several generations of models...

[Ijlal Loutfi](https://canonical.com/blog/author/ijlal-loutfi)

2 November 2026

[### Why embargoes matter for open source security](https://canonical.com/blog/why-embargoes-matter-for-open-source-security)

Open source is built on a foundation of transparency, collaboration, and speed. We share code, we share ideas, and together, we build better software. But when it comes to...

[Rajan Patel](https://canonical.com/blog/author/rajanpatel927)

30 October 2026
