this post was submitted on 11 Jun 2023
1 points (66.7% liked)

Linux

46775 readers
1731 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I already use 2FA to SSH into Fedora with libpam/google-authenticator.

I also tried setting it up for GNOME desktop login. However, after logging out and going back to the login screen, I type in the 2FA code (which it accepts fine via SSH) and it says it is incorrect. I have a feeling SELinux is messing it up. Luckily I could SSH back in and fix it back.

Anybody have any experience with this?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

Did you try parsing journalctl over SSH and check to see if there were any PAM or SELinux errors?

[–] [email protected] 1 points 1 year ago (1 children)

I'll do that first thing tomorrow and report back

[–] [email protected] 1 points 1 year ago

You can also run setenforce 0 to temporarily disable SELinux and rule that out.