Introduction

This tutorial covers How to Set Up Two-Factor Authentication with Google Authenticator on SLES 16 on SLES 16. SLES 16 (SUSE Linux Enterprise Server 16) is SUSE’s enterprise-grade Linux distribution. It uses the zypper package manager, AppArmor for mandatory access control, and systemctl for service management.

Prerequisites

Ensure your SLES 16 system is up to date: zypper refresh && zypper update -y

Step 1 — Installation

Install required packages:

zypper install -y 

Step 2 — Configuration

Configure the service as needed for your environment.

Step 3 — Enable Service

systemctl enable --now 

Step 4 — Verify

systemctl status 

AppArmor Considerations

Note: SLES 16 uses AppArmor for mandatory access control. Check AppArmor status with aa-status and enforce profiles with aa-enforce /etc/apparmor.d/<profile>.

Conclusion

You have successfully completed: How to Set Up Two-Factor Authentication with Google Authenticator on SLES 16. For more SLES 16 tutorials, see our full SLES 16 series.